Clarify MQTT light RGB color format (#6376)

* Clarify MQTT light RGB color format

Clarify that RGB color received and sent by MQTT light is normalized to full brightness

* Update light.mqtt.markdown

* Update light.mqtt.markdown

* Update light.mqtt.markdown

* ✏️ Small tweaks
This commit is contained in:
emontnemery 2018-09-30 21:23:50 +02:00 committed by Franck Nijhof
parent 88f1e347bb
commit a647828b91

View File

@ -122,11 +122,11 @@ rgb_command_template:
required: false
type: string
rgb_command_topic:
description: "The MQTT topic to publish commands to change the light's RGB state."
description: "The MQTT topic to publish commands to change the light's RGB state. Please note that the color value sent by Home Assistant is normalized to full brightness if `brightness_command_topic` is set. Brightness information is in this case sent separately in the `brightness_command_topic`. This will cause a light that expects an absolute color value (including brightness) to flicker."
required: false
type: string
rgb_state_topic:
description: The MQTT topic subscribed to receive RGB state updates. The expected payload is the RGB values separated by commas, for example `255,0,127`.
description: "The MQTT topic subscribed to receive RGB state updates. The expected payload is the RGB values separated by commas, for example, `255,0,127`. Please note that the color value received by Home Assistant is normalized to full brightness. Brightness information is received separately in the `brightness_state_topic`."
required: false
type: string
rgb_value_template: