mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Implement lock to yale_smart_alarm (#21089)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
fc00454ce4
commit
8a2aa2aaac
@ -3,6 +3,7 @@ title: Yale Smart Living
|
||||
description: Instructions on how to integrate Yale Smart Alarms into Home Assistant.
|
||||
ha_category:
|
||||
- Alarm
|
||||
- Lock
|
||||
ha_release: 0.78
|
||||
ha_iot_class: Cloud Polling
|
||||
ha_config_flow: true
|
||||
@ -11,38 +12,27 @@ ha_codeowners:
|
||||
ha_domain: yale_smart_alarm
|
||||
ha_platforms:
|
||||
- alarm_control_panel
|
||||
- lock
|
||||
---
|
||||
|
||||
The Yale Smart Living integration provides connectivity with the Yale Smart Alarm systems and Smart Hub through Yale's API.
|
||||
|
||||
This platform supports the following services: `alarm_arm_away`, `alarm_arm_home` and `alarm_disarm`.
|
||||
Currently only one alarm is supported.
|
||||
There is currently support for the following device types within Home Assistant:
|
||||
|
||||
- Alarm
|
||||
- Lock
|
||||
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
## Automation example
|
||||
## Alarm Control Panel
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- alias: "Alarm: Disarmed Daytime"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: alarm_control_panel.yale_smart_alarm
|
||||
to: "disarmed"
|
||||
condition:
|
||||
condition: sun
|
||||
before: sunset
|
||||
action:
|
||||
service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.OnDisarmedDaytime
|
||||
- alias: "Alarm: Armed Away"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: alarm_control_panel.yale_smart_alarm
|
||||
to: "armed_away"
|
||||
action:
|
||||
service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.OnArmedAway
|
||||
```
|
||||
Services provided are `armed_away`, `armed_home`, and `disarmed`.
|
||||
|
||||
No code is required to operate the alarm.
|
||||
|
||||
|
||||
## Lock
|
||||
|
||||
The lock platform requires a code for unlocking but no code for locking.
|
||||
|
||||
The integration can be configured to provide a default code that is used if no code is supplied and the number of digits required.
|
||||
|
Loading…
x
Reference in New Issue
Block a user