Wrapped templates

This commit is contained in:
Daniel Perna 2017-02-08 02:17:45 +01:00 committed by GitHub
parent c874a93bbc
commit 663aecf546

View File

@ -98,7 +98,7 @@ sensor:
- platform: template
sensors:
bedroom_valve:
value_template: '{{ states.climate.leq123456.attributes.Valve }}'
value_template: '{% raw %}{{ states.climate.leq123456.attributes.Valve }}{% endraw %}'
entity_id: climate.leq123456
friendly_name: 'Bedroom valve'
```