Manual Alarm - always 60 seconds to trigger

Weird situation here…my alarm, triggered, always goes from armed_away to pending, where it sits for 60 seconds, then triggered. This behavior does not change with any of the settings - currently, I have it set to:

pending_time: 10
delay_time: 10
trigger_time: 10

and it will give 10 seconds to arm, which is good, but when the alarm is tripped, it waits 60 seconds. Changing any of those numbers results in no difference in the time it takes to put the alarm into triggered state.

Any ideas?

My alarm config is as follows:

- platform: manual
  name: HA Alarm
  code: !secret alarm_code
  trigger_time: 120
  disarm_after_trigger: false
  armed_away:
    pending_time: 30
  armed_home:
    pending_time: 60
  triggered:
    pending_time: 0

I get 30 seconds of “pending” when arming as away, 60 seconds when arming as home, 0 seconds when triggering, and when triggered it stays in triggered state for 120 seconds then re-arms itself to wait for a trigger again.

The 0 seconds means mine goes from the “Armed Away” state to “Triggered” state as soon as the alarm triggered automation fires. If you want to see my alarm triggered automation, it’ll take me a bit to post it.

Of course, make sure you are restarting HA after you make your changes.

EDIT: Actually I think I misunderstood even my own config. I know I have 30-60 seconds from when the alarm is triggered (depends on what armed state it was in, home or away) to disarm the alarm before my siren sounds. So re-reading the integration page I think the 0 of my triggered state is actually blocking the state machine from returning from triggered back to the armed state. But what I do know is my alarm goes from the armed state to triggered state as soon as the automation fires and there is no pending in between.

So after re-reading both the docs and my config, I was right the first time. pending_time is the time before the alarm state machine effects a state change (from current state to the next state). That’s where I have 30 seconds before it goes from disarmed to armed away, 60 seconds from disarmed to armed home, and 0 seconds from armed to triggered.

Read the first 3 paragraphs of the Alarm State Machine. It explains how it uses the three time variables in changing states and determining when it goes pending, armed, triggered, etc.

I did the same setup as you and read the manual about 10 times now. It still goes from armed to pending for 60 seconds (or longer) regardless of what I set the times to before triggering.

I’ll have to go back and look at my automation to see if I have a delay baked in there somewhere.