Update lock.zwave.markdown (#1852)

* Update lock.zwave.markdown

* Update lock.zwave.markdown
This commit is contained in:
John Arild Berentsen 2017-01-28 18:10:18 +01:00 committed by GitHub
parent 9c0abbba36
commit 103586f00c

View File

@ -13,3 +13,11 @@ ha_release: 0.19
---
To get your Z-Wave locks working with Home Assistant, follow the instructions for the general [Z-Wave component](/components/zwave/).
Z-Wave locks will expose three services under the lock domain to manage usercodes if the lock supports it:
| Service | Description |
| ------- | ----------- |
| clear_usercode | Clears a usercode at code_slot X. Valid code_slots are 1-254, but max is defined by the lock. |
| get_usercode | Get a usercode from the lock at code_slot. Valid code_slots are 1-254, but max is defined by the lock. |
| set_usercode | Sets usercode to X at code_slot Y. Valid usercodes are at least 4 digits, and max defined by the lock. |