From 13e344810d2318c6f9c9f08b55831a0e740d806f Mon Sep 17 00:00:00 2001 From: irtimaled Date: Mon, 13 Sep 2021 00:33:23 -0700 Subject: [PATCH] Add support for color_temperature_invert on tuya lights (#1465) --- components/light/tuya.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/light/tuya.rst b/components/light/tuya.rst index 50ee794b0..80c9ed81d 100644 --- a/components/light/tuya.rst +++ b/components/light/tuya.rst @@ -87,6 +87,9 @@ Configuration variables: maximum of 255, but dimmers with a maximum of 1000 can also be found. Try what works best. - **color_temperature_max_value** (*Optional*, int, default 255): The highest color temperature value allowed. Some ceiling fans have a value of 100 (also for `max_value`). +- **color_temperature_invert** (*Optional*, boolean, default false): Control how color temperature + values are sent to the MCU. If this is set to true ESPHome will treat 0 as warm white and + **color_temperature_max_value** as cool white when setting **color_temperature_datapoint**. - **cold_white_color_temperature** (*Optional*, float): The color temperature (in `mireds `__ or Kelvin) of the cold white channel. - **warm_white_color_temperature** (*Optional*, float): The color temperature (in `mireds