From bd26868f2c34653dc008ea6fc7fffa3450154b1b Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Fri, 7 Apr 2017 09:52:26 -0400 Subject: [PATCH] Update light.mqtt docs to include 'retain' The light.mqtt component supports the 'retain' config parameter, which is important for many MQTT based lights. It is referenced in the explanation paragraph, but was not in the config parameter listing. --- source/_components/light.mqtt.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_components/light.mqtt.markdown b/source/_components/light.mqtt.markdown index 3b423e62eaf..ee03a6fb35e 100644 --- a/source/_components/light.mqtt.markdown +++ b/source/_components/light.mqtt.markdown @@ -45,6 +45,7 @@ Configuration variables: - **payload_off** (*Optional*): The payload that represents disabled state. Default is "OFF". - **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON". - **qos** (*Optional*): The maximum QoS level of the state topic. Default is 0 and will also be used to publishing messages. +- **retain** (*Optional*): If the published message should have the retain flag on or not. - **rgb_command_topic** (*Optional*): The MQTT topic to publish commands to change the light's RGB state. - **rgb_state_topic** (*Optional*): The MQTT topic subscribed to receive RGB state updates. - **rgb_value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the RGB value.