From 9d94f28131ce6c4f9765c5e6cadfebfe824623bf Mon Sep 17 00:00:00 2001 From: DubhAd Date: Mon, 25 Sep 2017 21:23:01 +0100 Subject: [PATCH] Updated documentation to match source (#3437) The source specifies delay_on and delay_off rather than on_delay and off_delay. --- source/_components/binary_sensor.template.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/binary_sensor.template.markdown b/source/_components/binary_sensor.template.markdown index 492f8d8269a..62f2a50b1ba 100644 --- a/source/_components/binary_sensor.template.markdown +++ b/source/_components/binary_sensor.template.markdown @@ -56,11 +56,11 @@ binary_sensor: description: Defines a template to set the state of the sensor. required: true type: template - on_delay: + delay_on: description: The amount of time the template state must be ***met*** before this sensor will switch to `on`. required: false 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`. required: false type: time @@ -164,7 +164,7 @@ binary_sensor: sensors: washing_machine: friendly_name: "Washing Machine" - off_delay: + delay_off: minutes: 5 value_template: >- {{ states('sensor.washing_machine_power')|float > 0 }}