mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Correct lock service names (#5409)
Service names are lock.lock and lock.unlock; not lock/lock and lock/unlock
This commit is contained in:
parent
938d8ab6e8
commit
68da7eea6c
@ -12,11 +12,11 @@ footer: 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/lock` and `lock/unlock` to control locks.
|
||||
* Registers services `lock.lock` and `lock.unlock` to control locks.
|
||||
|
||||
### {% linkable_title Use the services %}
|
||||
|
||||
Go to 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**.
|
||||
Go to the **Developer Tools**, then to **Call Service** in the frontend, and choose `lock.lock` or `lock.unlock` from the list of available services (**Services:** on the left). Enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**.
|
||||
|
||||
```json
|
||||
{"entity_id":"lock.front_door"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user