mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Fix Template binary sensor docs (#3344)
This commit is contained in:
parent
96f455fd52
commit
c50f9d5815
@ -108,7 +108,7 @@ This example creates a washing machine "load running" sensor by monitoring an en
|
|||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: Washing Machine
|
name: Washing Machine
|
||||||
value_template: {% raw %}'{{ sensor.washing_machine_power > 0 }}'{% endraw %}
|
value_template: {% raw %}'{{ states.sensor.washing_machine_power.state > 0 }}'{% endraw %}
|
||||||
off_delay:
|
off_delay:
|
||||||
minutes: 5
|
minutes: 5
|
||||||
```
|
```
|
||||||
@ -117,7 +117,7 @@ binary_sensor:
|
|||||||
|
|
||||||
This example is determining if anyone is home based on the combination
|
This example is determining if anyone is home based on the combination
|
||||||
of device tracking and motion sensors. It's extremely useful if you
|
of device tracking and motion sensors. It's extremely useful if you
|
||||||
have kids / baby sitter / grand parrents who might still be in your
|
have kids/baby sitter/ grand parents who might still be in your
|
||||||
house that aren't represented by a trackable device in home
|
house that aren't represented by a trackable device in home
|
||||||
assistant. This is providing a composite of wifi based device tracking
|
assistant. This is providing a composite of wifi based device tracking
|
||||||
and z-wave multisensor presence sensors.
|
and z-wave multisensor presence sensors.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user