Skip to content

Commit 9d94f28

Browse files
DubhAdfabaff
authored andcommitted
Updated documentation to match source (home-assistant#3437)
The source specifies delay_on and delay_off rather than on_delay and off_delay.
1 parent bbbfb5a commit 9d94f28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_components/binary_sensor.template.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ binary_sensor:
5656
description: Defines a template to set the state of the sensor.
5757
required: true
5858
type: template
59-
on_delay:
59+
delay_on:
6060
description: The amount of time the template state must be ***met*** before this sensor will switch to `on`.
6161
required: false
6262
type: time
63-
off_delay:
63+
delay_off:
6464
description: The amount of time the template state must be ***not met*** before this sensor will switch to `off`.
6565
required: false
6666
type: time
@@ -164,7 +164,7 @@ binary_sensor:
164164
sensors:
165165
washing_machine:
166166
friendly_name: "Washing Machine"
167-
off_delay:
167+
delay_off:
168168
minutes: 5
169169
value_template: >-
170170
{{ states('sensor.washing_machine_power')|float > 0 }}

0 commit comments

Comments
 (0)