I just finished setting up Manual Alarm Control Panel and have the following test automation:
# Using sensor to trigger alarm
- alias: 'Trigger alarm while armed away'
trigger:
- platform: state
entity_id: binary_sensor.kitchen_motion
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.home_alarm
#Sending notification when Alarm is trigged
- alias: 'Send notification when alarm triggered'
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: 'triggered'
action:
- service: notify.ios_iphone1
data:
message: "Motion Detected!"
The problem is it takes about 10 to 15 seconds for the notification to popup in the HA app. All other automations that send notifications are nearly instant.
Anyone with a similar setup have this problem?