changed example in 'burglar' example to true/false

This commit is contained in:
Zorks 2017-11-30 18:59:23 -08:00 committed by GitHub
parent 6ffc6a6d5c
commit 6c2d9a60d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 %}
```