mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
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:
parent
bbbfb5a841
commit
9d94f28131
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user