Fix broken templating
This commit is contained in:
parent
669b736ac1
commit
e9aad88641
2 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue