Skip to content

Commit 5897cd0

Browse files
alterscapefabaff
authored andcommitted
add documentation for home-assistant/home-assistant/ pull request 3449, supporting color temperature adjustment for mqtt lights. (#961)
1 parent b4a45a8 commit 5897cd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/_components/light.mqtt.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ Configuration variables:
3636
- **brightness_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's brightness.
3737
- **rgb_state_topic** (*Optional*): The MQTT topic subscribed to receive RGB state updates.
3838
- **rgb_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's RGB state.
39+
- **color_temp_state_topic** (*Optional*): The MQTT topic subscribed to receive color temperature state updates.
40+
- **color_temp_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's color temperature state.
3941
- **state_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the state value.
4042
- **brightness_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the brightness value.
4143
- **rgb_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the RGB value.
44+
- **color_temp_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the color temperature value.
4245
- **brightness_scale** (*Optional*): Defines the maximum brightness value (i.e. 100%) of the MQTT device (defaults to 255).
4346
- **qos** (*Optional*): The maximum QoS level of the state topic. Default is 0 and will also be used to publishing messages.
4447
- **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON".
@@ -99,4 +102,3 @@ light:
99102
### {% linkable_title Implementations %}
100103

101104
A basic example using a nodeMCU board (ESP8266) to control its built-in led (on/off) can be found [here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_light). [Here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_rgb_light) is another example to control a RGB led (on/off, brightness and colors).
102-

0 commit comments

Comments
 (0)