mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Add support for rgb support on tuya lights (#1488)
This commit is contained in:
parent
0960895891
commit
1054af20eb
@ -81,6 +81,8 @@ Configuration variables:
|
|||||||
change the brightness and would have to toggle the light using the physical buttons.
|
change the brightness and would have to toggle the light using the physical buttons.
|
||||||
- **color_temperature_datapoint** (*Optional*, int): The datapoint id number of the color
|
- **color_temperature_datapoint** (*Optional*, int): The datapoint id number of the color
|
||||||
temperature value.
|
temperature value.
|
||||||
|
- **rgb_datapoint** (*Optional*, int): The datapoint id number of the rgb value. If this is set
|
||||||
|
then ESPHome will set the color using a 6 digit hex RGB value.
|
||||||
- **min_value** (*Optional*, int, default 0): The lowest dimmer value allowed. My dimmer had a
|
- **min_value** (*Optional*, int, default 0): The lowest dimmer value allowed. My dimmer had a
|
||||||
minimum of 25 and wouldn't even accept anything lower, but this option is available if necessary.
|
minimum of 25 and wouldn't even accept anything lower, but this option is available if necessary.
|
||||||
- **max_value** (*Optional*, int, default 255): The highest dimmer value allowed. Most dimmers have a
|
- **max_value** (*Optional*, int, default 255): The highest dimmer value allowed. Most dimmers have a
|
||||||
@ -95,7 +97,7 @@ Configuration variables:
|
|||||||
- **warm_white_color_temperature** (*Optional*, float): The color temperature (in `mireds
|
- **warm_white_color_temperature** (*Optional*, float): The color temperature (in `mireds
|
||||||
<https://en.wikipedia.org/wiki/Mired>`__ or Kelvin) of the warm white channel.
|
<https://en.wikipedia.org/wiki/Mired>`__ or Kelvin) of the warm white channel.
|
||||||
- All other options from :ref:`Light <config-light>`.
|
- All other options from :ref:`Light <config-light>`.
|
||||||
- At least one of *dimmer_datapoint* or *switch_datapoint* must be provided.
|
- At least one of *dimmer_datapoint*, *switch_datapoint*, or *rgb_datapoint* must be provided.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user