Hello,
I have setup the manual alarm in a way that the pending time and delay time for armed_home is zero but yet, when an automation triggers the alarm while in the armed_home state it goes in the pending state when it shouldn’t. Is something wrong with my automation or my setup?
##########################################################
## Alarm
##########################################################
- platform: myalarm
name: "House"
code: !CODE
pending_time: 30
delay_time: 25
trigger_time: 120
disarm_after_trigger: false
armed_night:
pending_time: 0
delay_time: 0
trigger_time: 20
armed_home:
pending_time: 0
delay_time: 0
trigger_time: 20
##########################################################
## Immediate - Night
##########################################################
- alias: Security - Immediate - Night
trigger:
- platform: state
entity_id: lock.kitchen_door
from: 'locked'
to: 'unlocked'
condition:
- condition: state
entity_id: alarm_control_panel.house
state: 'armed_home'
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.house