diff --git a/templates/low-battery.yaml.j2 b/templates/low-battery.yaml.j2 index 331c5b2..d77eb4f 100644 --- a/templates/low-battery.yaml.j2 +++ b/templates/low-battery.yaml.j2 @@ -19,4 +19,4 @@ data: title: "Low battery" message: > - {% raw %}{{ state_attr(trigger.entity_id, 'name_by_user') }} has low battery {{ states(trigger.entity_id }}% {% endraw %} + {% raw %}{{ state_attr(trigger.entity_id, 'name_by_user') }} has low battery {{ states(trigger.entity_id) }}% {% endraw %}