Manual Alarm armed_custom_bypass mode example?

i’ve been looking for something similar. i think the short answer is your question is “no.” from here, it sounds like the use case for armed_custom_bypass is arming/disarming different zones, but i’m not sure how to implement it either.

if it helps, i have a workaround to trigger my alarm immediately. here’s my alarm code (the mqtt parts aren’t necessary if you’re not using it):

platform: manual_mqtt
name: "house alarm"
code: !secret house_alarm_code
trigger_time: 600
state_topic: home/alarm
command_topic: home/alarm/set
armed_home:
  pending_time: 0
  delay_time: 0
armed_away:
  pending_time: 90
  delay_time: 90
disarmed:
  delay_time: 0
triggered:
  pending_time: 0

and then i can trigger the alarm immediately with this script:

panic_alarm:
  sequence:
    - service: alarm_control_panel.alarm_disarm
      data:
        entity_id: alarm_control_panel.house_alarm
        code: !secret house_alarm_code
    - service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.house_alarm

with disarmed delay_time = 0 and triggered pending_time = 0, the alarm will disarm immediately and calling “trigger” from the disarmed state will trigger the alarm immediately.

there are also different alarm implementations like this one that allow immediate triggering, but i didn’t want all the other bells and whistles.

2 Likes