Fix broken templating

This commit is contained in:
Paulus Schoutsen 2018-05-06 08:54:51 -04:00
parent 669b736ac1
commit e9aad88641
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ With strings
```text
{% raw %}{% set tracker_name = "paulus"%}
{% if states("device_tracker." + tracker_name) != "unknown" %}
{{ state_attr("device_tracker." + tracker_name, "battery")}}
{% else %}