Hi there,
I do have window sensors and the alarm sirene from Homematic IP.
Now I want to automate the following:
- When alarm state is set to “armed_away” a switch should be turned on (I have a camera connected to it).
- When the alarm is disarmed the switch should keep running for 5 minutes until it is turned off.
Number 2 works perfectly. But I do not get 1) up and running.
What am I doing wrong?
Here is the automatization for 2):
Trigger
device_id: xxx
domain: alarm_control_panel
entity_id: alarm_control_panel.hmip_alarm_control_panel
platform: device
type: armed_away
Action
device_id: xxx
domain: switch
entity_id: switch.schalt_steckdose_kamera
type: turn_on
Thanks
Benjamin