home-assistant.io/source/_components/alarm_control_panel.verisure.markdown
2016-08-09 15:37:41 +02:00

1.0 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page Verisure Alarm Instructions how to setup the Verisure Alarm control panel within Home Assistant. 2016-02-15 22:00 true false true true verisure.png Alarm 0.7.3

The Verisure alarm control panel platform allows you to control your Verisure Alarms.

The requirement is that you have setup your Verisure 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: >
            {% raw %}Alarm changed from {{ trigger.from_state.state }}
            to {{ trigger.to_state.state }}
            by {{ trigger.to_state.attributes.changed_by }}{% endraw %}