From 2290d32ccd854a729fa8fda4be3ecf4bacd6765d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 7 Sep 2015 16:57:08 +0200 Subject: [PATCH] update list --- source/components/switch.mqtt.markdown | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/source/components/switch.mqtt.markdown b/source/components/switch.mqtt.markdown index 69a1552806a..3637efc3742 100644 --- a/source/components/switch.mqtt.markdown +++ b/source/components/switch.mqtt.markdown @@ -36,14 +36,9 @@ switch: optimistic: false ``` -command_topic: The MQTT topic to publish commands to change the switch state. *Required* - -name: The name of the switch. Default is 'MQTT Switch'. *Optional* - -state_topic: The MQTT topic subscribed to receive state updates. *Optional* - -payload_on: The payload that represents enabled state. Default is "ON". *Optional* - -payload_off: The payload that represents disabled state. Default is "OFF". *Optional* - -optimistic: Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false. *Optional* +- **name**: The name of the switch. Default is 'MQTT Switch'. *Optional* +- **state_topic**: The MQTT topic subscribed to receive state updates. *Optional* +- **command_topic**: The MQTT topic to publish commands to change the switch state. *Required* +- **payload_on**: The payload that represents enabled state. Default is "ON". *Optional* +- **payload_off**: The payload that represents disabled state. Default is "OFF". *Optional* +- **optimistic**: Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false. *Optional*