From e15c9a82191880ead46f3d5d19036f757c6188a5 Mon Sep 17 00:00:00 2001 From: emontnemery Date: Sat, 30 Mar 2019 08:21:44 +0100 Subject: [PATCH] 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 --- source/_components/switch.mqtt.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/switch.mqtt.markdown b/source/_components/switch.mqtt.markdown index ca62ceb039d..252d8f9de5d 100644 --- a/source/_components/switch.mqtt.markdown +++ b/source/_components/switch.mqtt.markdown @@ -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