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.
This commit is contained in:
Josh Wright 2017-04-07 09:52:26 -04:00 committed by GitHub
parent f8e2b8877b
commit bd26868f2c

View File

@ -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.