From 13e88a0a96e2cdd56a15fc0351527901a2cec1f5 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 16 Dec 2023 15:17:02 +0100 Subject: [PATCH] Fix template for low battery --- templates/low-battery.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}