Hello, I have configured the alarm pretty fine and also wrote the automation rules that trigger the alarm and send the notifications.
The only thing I have not managed is to allow some sensors skip the “delay time” and trigger the alarm instantly. For example you want the delay time only for the front door sensor but not for the balcony door or some other sensors…
This topic is very interesting also for me. It seems a limitation of the current implementation.
I hope this feature can be added soon.
For the moment, I solved in this hobbyist way:
- alias: Check sensor for immediate notifications or alarms
trigger:
- platform: state
entity_id:
- binary_sensor.xiaomi_door_1
- binary_sensor.xiaomi_door_2
from: 'off'
to: 'on'
condition:
condition: or
conditions:
- condition: state
entity_id: alarm_control_panel.home
state: armed_away
- condition: state
entity_id: alarm_control_panel.home
state: armed_home
action:
- service: notify.stefano
data:
message: "Warning: possible intrusion detected !"