Help with an Abode Alarm trigger when armed home or away

Hello,

I’m trying to get an Abode alarm trigger setup to arm my Blink cameras and send me a push notification when the Abode alarm system is armed to home or away.

Things I’ve referenced trying to get this to work:

note: I randomized the device_id below.

I have a working setup for when Abode is Disarmed:

alias: Abode Disarmed - Disarm Blink Cameras
description: ''
trigger:
  - platform: device
    device_id: 7c89db22d86d93f09159590465bd25d4
    domain: alarm_control_panel
    entity_id: alarm_control_panel.abode_alarm
    type: disarmed
condition: []
action:
  - service: alarm_control_panel.alarm_disarm
    data: {}
    entity_id: alarm_control_panel.blink_home
  - service: notify.mobile_app_iphone
    data:
      title: Abode HA Automation
      message: Blink Cameras DISARMED because Abode was set to Standby
mode: queued
max: 10

However I can’t get the trigger to work for when Abode is set to Away or Home (and thus armed).

  • I’ve tried with events and devices as triggers, with many different triggers, and with only one of these triggers at a time (home, away, arming).
  • When manually executed this does run and arm my Blink cameras and send me a push notification properly.
alias: Abode Armed - Arm Blink Cameras
description: ''
trigger:
  - platform: device
    device_id: 7c89db22d86d93f09159590465bd25d4
    domain: alarm_control_panel
    entity_id: alarm_control_panel.abode_alarm
    type: armed_home
  - platform: device
    device_id: 7c89db22d86d93f09159590465bd25d4
    domain: alarm_control_panel
    entity_id: alarm_control_panel.abode_alarm
    type: armed_away
  - platform: device
    device_id: 7c89db22d86d93f09159590465bd25d4
    domain: alarm_control_panel
    entity_id: alarm_control_panel.abode_alarm
    type: arming
condition: []
action:
  - service: alarm_control_panel.alarm_arm_away
    data: {}
    entity_id: alarm_control_panel.blink_home
  - service: notify.mobile_app_iphone
    data:
      title: Abode HA Automation
      message: Blink Cameras ARMED because Abode was set to Armed
mode: single
  • To no avail, I also tried the arming with events swapped in for the trigger, with the event_code formatted as a string like '1374': and as an integer like 1374.
trigger:
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 1374
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 1456
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3400
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3401
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3407
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3408
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3456
  - platform: event
    event_type: abode_arm
    event_data:
      event_code: 3758

Does anyone have any ideas / have a working Abode Alarm arming trigger / YAML they could share?

Thank you!

Update: I found a solution by looking at the State data in Developer Tools and then configuring these triggers:

trigger:
  - platform: state
    entity_id: alarm_control_panel.abode_alarm
    to: armed_away
  - platform: state
    entity_id: alarm_control_panel.abode_alarm
    to: armed_home