mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-28 13:57:04 +00:00
Set default payloads in quotes because the docs show true/false (#10002)
a90ec88e5c/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
This commit is contained in:
parent
9de3f9d554
commit
bbf18982e4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user