Clarify default value for mqtt.switch state_on / state_off (#9070)

* Update switch.mqtt.markdown

* Update switch.mqtt.markdown

* Update switch.mqtt.markdown

* Update switch.mqtt.markdown

* Update switch.mqtt.markdown

* Update switch.mqtt.markdown
This commit is contained in:
emontnemery 2019-03-30 08:21:44 +01:00 committed by Franck Nijhof
parent 10db76700b
commit e15c9a8219

View File

@ -54,12 +54,12 @@ state_on:
description: The payload that represents the on state.
required: false
type: string
default: "ON"
default: "`payload_on` if defined, else ON"
state_off:
description: The payload that represents the off state.
required: false
type: string
default: "OFF"
default: "`payload_off` if defined, else OFF"
availability_topic:
description: The MQTT topic subscribed to receive availability (online/offline) updates.
required: false