Update binary_sensor.template.markdown

This commit is contained in:
Paulus Schoutsen 2017-06-23 23:24:14 -07:00 committed by GitHub
parent d05883210d
commit 2189bbda03

View File

@ -124,7 +124,7 @@ binary_sensor:
- platform: template
sensors:
people_home:
value_template: >-
value_template: {% raw %}>-
{%- if is_state("device_tracker.sean", "home")
or is_state("device_tracker.susan", "home")
or is_state("binary_sensor.office_124", "on")
@ -136,7 +136,7 @@ binary_sensor:
True
{%- else -%}
False
{%- endif %}
{%- endif %}{% endraw %}
entity_id:
- device_tracker.sean
- device_tracker.susan