1
0
Fork 0

Ergänze Warnungen

This commit is contained in:
Malte Brandy 2022-01-09 19:05:20 +01:00
parent 5073d19193
commit 1a612199ae

View file

@ -342,13 +342,13 @@ in
}
{
alias = "Warnung bei niedrigem Akkustand";
trigger =
{
trigger = map
(limit: {
platform = "numeric_state";
below = "25";
below = toString limit;
entity_id = batteries;
};
action = [ (actions.notify "{{ trigger.to_state.name }} ist unter 25%.") ];
}) [ 25 20 15 10 5 4 3 2 1 ];
action = [ (actions.notify "{{ trigger.to_state.name }} ist {{ trigger.to_state.value }}%.") ];
}
# Warnungen für niedrige Akkustände
# Warnungen für hohe Luftfeuchtigkeit