From 6c31901082a860239746e497af1e8625b538a812 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Wed, 19 Jan 2022 23:30:14 +0100 Subject: [PATCH] Add trigger --- nixos/roles/home-assistant/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/roles/home-assistant/default.nix b/nixos/roles/home-assistant/default.nix index 35e1d876..b265342d 100644 --- a/nixos/roles/home-assistant/default.nix +++ b/nixos/roles/home-assistant/default.nix @@ -376,6 +376,11 @@ in }) [ 25 20 15 10 5 4 3 2 1 ]; action = [ (actions.notify "{{ trigger.to_state.name }} ist {{ trigger.to_state.state }}%.") ]; } + { + alias = "Abend"; + trigger = [{ platform = "time"; at = "23:00:00"; }]; + action = [ (actions.notify "Es ist 23 Uhr.") ]; + } # Warnungen für hohe Luftfeuchtigkeit ] ++ (map (minutes: