Manual alarm ignoring armed_home pending time

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
1 Like

Just an update in case someone runs into this issue. I had to set the default values to zero in order to use the custom values for armed_home, armed_night etc.

4 Likes

I ran into this as well. This is what mine looks like and appears to be working.

alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: !secret alarm_code
    pending_time: 0
    delay_time: 0
    trigger_time: 0
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0
      trigger_time: 30
    armed_away:
      pending_time: 60
      delay_time: 30
      trigger_time: 30
3 Likes