Vanderbilt SPC Alarm


The spc alarm control panel platform allows you to control your Vanderbilt SPC alarms.

The requirement is that you have setup your SPC hub.

The changed_by attribute enables one to be able to take different actions depending on who armed/disarmed the alarm in automation.

automation:
  - alias: Alarm status changed
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm_1
    action:
      - service: notify.notify
        data_template:
          message: >
            Alarm changed from {{ trigger.from_state.state }}
            to {{ trigger.to_state.state }}
            by {{ trigger.to_state.attributes.changed_by }}