From 9ad506f5386f434a8d6e1a03c2fad314b90f8fdc Mon Sep 17 00:00:00 2001 From: Connor Prussin Date: Thu, 5 Nov 2020 15:53:53 -0800 Subject: [PATCH] Document tuya dimmer min_value_datapoint (#832) --- components/light/tuya.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/light/tuya.rst b/components/light/tuya.rst index 0f9800ab9..f3da99ef2 100644 --- a/components/light/tuya.rst +++ b/components/light/tuya.rst @@ -65,6 +65,7 @@ Now you can create the light. - platform: "tuya" name: "dim1" dimmer_datapoint: 3 + min_value_datapoint: 2 switch_datapoint: 1 Configuration variables: @@ -73,6 +74,8 @@ Configuration variables: - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - **name** (**Required**, string): The name of the light. - **dimmer_datapoint** (*Optional*, int): The datapoint id number of the dimmer value. +- **min_value_datapoint** (*Optional*, int): The datapoint id number of the MCU minimum value + setting. If this is set then ESPHome will sync the **min_value** to the MCU on startup. - **switch_datapoint** (*Optional*, int): The datapoint id number of the power switch. My dimmer required this to be able to turn the light on and off. Without this you would only be able to change the brightness and would have to toggle the light using the physical buttons.