From bbf18982e4ef0bbdc17ff45201ef973e7c2c065c Mon Sep 17 00:00:00 2001 From: VDRainer <26381449+VDRainer@users.noreply.github.com> Date: Mon, 29 Jul 2019 12:07:53 +0200 Subject: [PATCH] Set default payloads in quotes because the docs show true/false (#10002) https://github.com/home-assistant/home-assistant/blob/a90ec88e5c7098e11fbcf8212c8bc9dcae713a60/homeassistant/components/command_line/binary_sensor.py#L19-L20 https://community.home-assistant.io/t/command-line-binary-sensor-never-switches-to-on/128840?u=vdrainer --- source/_components/command_line.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/command_line.markdown b/source/_components/command_line.markdown index 9761296bdaf..c22e5a513d1 100644 --- a/source/_components/command_line.markdown +++ b/source/_components/command_line.markdown @@ -47,12 +47,12 @@ payload_on: description: The payload that represents enabled state. required: false type: string - default: ON + default: 'ON' payload_off: description: The payload that represents disabled state. required: false type: string - default: OFF + default: 'OFF' value_template: description: Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload. required: false