changed example in 'burglar' example to true/false

This commit is contained in:
Zorks 2017-11-30 18:59:23 -08:00 committed by Fabian Affolter
parent fccccccb50
commit f579724dfa
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -157,9 +157,9 @@ binary_sensor:
friendly_name: "Friendly name here"
value_template: >-
{% raw %}{%- if is_state('sensor.YOUR_SENSOR_burglar', '8') -%}
on
true
{%- else -%}
off
false
{%- endif -%}{% endraw %}
```