Skip to content

Commit c50f9d5

Browse files
arsaboofabaff
authored andcommitted
Fix Template binary sensor docs (home-assistant#3344)
1 parent 96f455f commit c50f9d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_components/binary_sensor.template.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This example creates a washing machine "load running" sensor by monitoring an en
108108
binary_sensor:
109109
- platform: template
110110
name: Washing Machine
111-
value_template: {% raw %}'{{ sensor.washing_machine_power > 0 }}'{% endraw %}
111+
value_template: {% raw %}'{{ states.sensor.washing_machine_power.state > 0 }}'{% endraw %}
112112
off_delay:
113113
minutes: 5
114114
```
@@ -117,7 +117,7 @@ binary_sensor:
117117

118118
This example is determining if anyone is home based on the combination
119119
of device tracking and motion sensors. It's extremely useful if you
120-
have kids / baby sitter / grand parrents who might still be in your
120+
have kids/baby sitter/ grand parents who might still be in your
121121
house that aren't represented by a trackable device in home
122122
assistant. This is providing a composite of wifi based device tracking
123123
and z-wave multisensor presence sensors.

0 commit comments

Comments
 (0)