Make it raw

This commit is contained in:
Fabian Affolter 2016-07-14 09:40:01 +02:00
parent 691898af48
commit cc22b59ebc
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -65,7 +65,7 @@ sensor:
platform: template
sensors:
glances:
value_template: '{% if is_state("sensor.process_glances", "off") %}not running{% else %}running{% endif %}'
value_template: {% raw %}'{% if is_state("sensor.process_glances", "off") %}not running{% else %}running{% endif %}'{% endraw %}
friendly_name: 'Glances'
```