Add raw tags to template example in 0.15 release blog post

This commit is contained in:
Paulus Schoutsen 2016-03-12 11:33:04 -08:00
parent 6315450524
commit 18ae052255

View File

@ -36,13 +36,13 @@ automation:
entity_id: switch.bathroom
action:
service_template: >
{% if is_state('switch.bathroom', 'on') %}
{% raw %}{% if is_state('switch.bathroom', 'on') %}
switch.turn_on
{% else %}
switch.turn_off
{% endif %}
{% endif %}{% endraw %}
data_template:
entity_id: switch.{{ states('input_select.is') }}
entity_id: switch.{% raw %}{{ states('input_select.is') }}{% endraw %}
```
[Hunter Douglas Powerview]: /components/scene.hunterdouglas_powerview/