mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-11-12 12:31:14 +00:00
980 B
980 B
layout, title, description, date, sidebar, comments, sharing, footer
| layout | title | description | date | sidebar | comments | sharing | footer |
|---|---|---|---|---|---|---|---|
| page | Locks | Instructions how to setup your locks with Home Assistant. | 2015-11-21 08:10 | true | false | true | true |
Keeps track which locks are in your environment, their state and allows you to control them.
- Maintains a state per lock and a combined state
all_locks. - Registers services
lock/lockandlock/unlockto control locks.
{% linkable_title Use the services %}
Go the the Developer Tools, then to Call Service in the frontend, and choose lock/lock or lock/unlock from the list of available services (Available services: on the left). Enter something like the sample below into the Service Data field and hit CALL SERVICE.
{"entity_id":"lock.front_door"}
| Service data attribute | Optional | Description |
|---|---|---|
entity_id |
yes | Only act on specific lock. Else targets all. |