Custom Component: Crow Runner / Arrowhead AAP 8/16 Alarm IP Module

New Power Cut/On automations:

- alias: Power Back On
  trigger:
  - platform: template
    value_template: '{{is_state_attr(''alarm_control_panel.area_a'',''mains'', True)}}'
  action:
  - service: notify.pushover
    data_template:
      message: >
        Elektrikler Geldi... 

- alias: Power Cut
  trigger:
  - platform: template
    value_template: '{{is_state_attr(''alarm_control_panel.area_a'',''mains'', False)}}'
  action:
  - service: notify.pushover
    data_template:
      message: >
        Elektrikler Kesildi!!!

EDIT: Now realized when HA is restarted, this automation sends message ‘Power Is Back On’… Guess can live with this…