You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/light.mqtt.markdown
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ Configuration variables:
47
47
- **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON".
48
48
- **qos** (*Optional*): The maximum QoS level of the state topic. Default is 0 and will also be used to publishing messages.
49
49
- **retain** (*Optional*): If the published message should have the retain flag on or not.
50
+
- **rgb_command_template** (*Optional*): Defines a [template](/docs/configuration/templating/#processing-incoming-data) to compose message which will be sent to `rgb_command_topic`. Available variables: `red`, `green` and `blue`.
50
51
- **rgb_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's RGB state.
51
52
- **rgb_state_topic** (*Optional*): The MQTT topic subscribed to receive RGB state updates.
52
53
- **rgb_value_template** (*Optional*): Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the RGB value.
0 commit comments