Franck Nijhof 6ca14d3efc
Rename 'service' to 'action' in automations and scripts (#34023)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2024-07-31 14:37:02 +02:00

2.7 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_domain, ha_platforms, ha_config_flow, ha_dhcp, ha_integration_type
title description ha_category ha_release ha_iot_class ha_domain ha_platforms ha_config_flow ha_dhcp ha_integration_type
Verisure Instructions on how to setup Verisure devices within Home Assistant.
Alarm
Binary sensor
Camera
Hub
Lock
Sensor
Switch
pre 0.7 Cloud Polling verisure
alarm_control_panel
binary_sensor
camera
diagnostics
lock
sensor
switch
true true hub

Home Assistant has support to integrate your Verisure devices.

There is currently support for the following device types within Home Assistant:

  • Alarm
  • Camera
  • Switch (Smartplug)
  • Sensor (Thermometers and Hygrometers)
  • Lock
  • Binary sensor (Door & Window)

{% include integrations/config_flow.md %}

{% include integrations/option_flow.md %}

Alarm control panel

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

The requirement is that you have setup your Verisure hub first, with the instruction above.

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

{% raw %}

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

{% endraw %}

Actions

Service Description
disable_autolock Disables autolock function for a specific lock.
enable_autolock Enables autolock function for a specific lock.
smartcam_capture Capture a new image from a specific smartcam.

Binary sensor

  • Ethernet status

Lock

method state attribute Description
thumb Lock was locked/unlocked by interior thumb switch
star Lock was locked by exterior star button
code Lock was unlocked by exterior code
auto Lock was locked/unlocked automatically by Verisure rule
remote Lock was locked/unlocked automatically by Verisure App

Limitations and known issues

Some users have reported that this integration currently doesn't work in the following countries:

  • France
  • Ireland
  • Italy
  • Sweden

Troubleshooting

If you get an error message stating something like "The code for lock.XXX doesn't match pattern ^\d{0}$.", make sure the number of digits for your code matches the number defined in the configuration options.