mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-03 00:36:50 +00:00
Add docs for new zwave_js lock services (#16286)
This commit is contained in:
parent
1625dd5543
commit
bbafcecd49
@ -47,3 +47,26 @@ available.
|
||||
As this integration is still in the early stages there are some important limitations to be aware of.
|
||||
|
||||
- You will need to use another tool, such as [zwavejs2mqtt](https://github.com/zwave-js/zwavejs2mqtt), to include/exclude devices and manage device configuration.
|
||||
|
||||
## Services
|
||||
|
||||
### Service `zwave_js.set_lock_usercode`
|
||||
|
||||
This service will set the usercode of a lock to X at code slot Y.
|
||||
Valid usercodes are at least 4 digits.
|
||||
|
||||
| Service Data Attribute | Required | Description |
|
||||
| ---------------------- | -------- | ---------------------------------------------------- |
|
||||
| `entity_id` | no | Lock entity or list of entities to set the usercode. |
|
||||
| `code_slot` | yes | The code slot to set the usercode into. |
|
||||
| `usercode` | yes | The code to set in the slot. |
|
||||
|
||||
### Service `zwave_js.clear_lock_usercode`
|
||||
|
||||
This service will clear the usercode of a lock in code slot X.
|
||||
Valid code slots are between 1-254.
|
||||
|
||||
| Service Data Attribute | Required | Description |
|
||||
| ---------------------- | -------- | ------------------------------------------------------ |
|
||||
| `entity_id` | no | Lock entity or list of entities to clear the usercode. |
|
||||
| `code_slot` | yes | The code slot to clear the usercode from. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user