From 0cc77956de1c7d1e101461c3c3302c7f6480b8ac Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 15 Jan 2022 02:01:32 +0100 Subject: [PATCH] Fix battery error message --- nixos/roles/home-assistant/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/roles/home-assistant/default.nix b/nixos/roles/home-assistant/default.nix index 4931825b..39002245 100644 --- a/nixos/roles/home-assistant/default.nix +++ b/nixos/roles/home-assistant/default.nix @@ -343,7 +343,7 @@ in below = toString limit; entity_id = batteries; }) [ 25 20 15 10 5 4 3 2 1 ]; - action = [ (actions.notify "{{ trigger.to_state.name }} ist {{ trigger.to_state.value }}%.") ]; + action = [ (actions.notify "{{ trigger.to_state.name }} ist {{ trigger.to_state.state }}%.") ]; } # Warnungen für hohe Luftfeuchtigkeit ] ++ (map