Alarm panel main and secondary doors

Hey folks!
Do you know any way to enable primary and secondary doors on the alarm panel in HA, with automations maybe? Such as in Ring.
That is, when armed away there is a delay time at opening the doors (through door sensors, for instance) so that there’s time to disarm the system. However, I won’t be using the rear door or the windows to enter home. I want those to trigger the alarm automatically when opened.
Is there any way to accomplish that?
Thanks so much! :blush:

Have you looked at the alarmo integration?

Thanks! I’ll check it out :crossed_fingers:

You can also use timers - instead of setting the alarm off when the first door is opened, the first door opening would act as a trigger to start say a 30 second timer. When the timer is finished that would be the trigger to set the alarm. When you turn off the alarm that would be a trigger to cancel the timer.

Yeah, thanks for your idea! That’s what I tried but it keeps being triggered… I can’t figure it out why.
I set the delay_time to 0 in configuration.yaml and then created a time helper of 45 seconds, an automation that makes this time helper start when I open the main door:

alias: "ALARM: away (main door)"
description: ""
trigger:
  - type: opened
    platform: device
    device_id: ef192967eda314833fb2f56dd786aade
    entity_id: binary_sensor.main_door_contact
    domain: binary_sensor
condition:
  - condition: state
    entity_id: alarm_control_panel.home_alarm
    state: armed_away
action:
  - service: timer.start
    data: {}
    target:
      entity_id: timer.alarm_trigger
mode: single

Then it triggers the alarm after 45 seconds:

alias: "ALARM: away (main door triggered)"
description: ""
trigger:
  - platform: state
    entity_id:
      - timer.alarm_trigger
    for:
      hours: 0
      minutes: 0
      seconds: 45
condition: []
action:
  - service: alarm_control_panel.alarm_trigger
    data: {}
    target:
      entity_id: alarm_control_panel.home_alarm
mode: single

And this one cancels the time helper.

alias: "ALARM: away (main door cancel)"
description: ""
trigger:
  - platform: state
    entity_id:
      - alarm_control_panel.home_alarm
    to: disarmed
condition: []
action:
  - service: timer.cancel
    data: {}
    target:
      entity_id: timer.alarm_trigger
mode: single

However, it doesn’t work. I’m sure I’m doing it wrong :man_facepalming: