Updated documentation to match source (#3437)

The source specifies delay_on and delay_off rather than on_delay and off_delay.
This commit is contained in:
DubhAd 2017-09-25 21:23:01 +01:00 committed by Fabian Affolter
parent bbbfb5a841
commit 9d94f28131

View File

@ -56,11 +56,11 @@ binary_sensor:
description: Defines a template to set the state of the sensor. description: Defines a template to set the state of the sensor.
required: true required: true
type: template type: template
on_delay: delay_on:
description: The amount of time the template state must be ***met*** before this sensor will switch to `on`. description: The amount of time the template state must be ***met*** before this sensor will switch to `on`.
required: false required: false
type: time type: time
off_delay: delay_off:
description: The amount of time the template state must be ***not met*** before this sensor will switch to `off`. description: The amount of time the template state must be ***not met*** before this sensor will switch to `off`.
required: false required: false
type: time type: time
@ -164,7 +164,7 @@ binary_sensor:
sensors: sensors:
washing_machine: washing_machine:
friendly_name: "Washing Machine" friendly_name: "Washing Machine"
off_delay: delay_off:
minutes: 5 minutes: 5
value_template: >- value_template: >-
{{ states('sensor.washing_machine_power')|float > 0 }} {{ states('sensor.washing_machine_power')|float > 0 }}