I have an automation which should switch a shelly plug on battery SOC. Belw 30% it shoudl switch on, above 80% it shoudl switch off. As easy as that - but I don't see my automation switching on.. what can be the reason?
alias: Wandtablet Ladenautomatik
triggers:
- entity_id: sensor.dein_batterie_sensor
above: 80
id: Ausschalten
trigger: numeric_state
- entity_id: sensor.dein_batterie_sensor
below: 30
id: Einschalten
trigger: numeric_state
actions:
- choose:
- conditions:
- condition: trigger
id: Einschalten
sequence:
- target:
entity_id: switch.deine_steckdose
action: switch.turn_on
data: {}
- conditions:
- condition: trigger
id: Ausschalten
sequence:
- target:
entity_id: switch.deine_steckdose
action: switch.turn_off
data: {}
mode: single