From 103586f00c7c5adb0d26f1e40a1d493583c7b8b9 Mon Sep 17 00:00:00 2001 From: John Arild Berentsen Date: Sat, 28 Jan 2017 18:10:18 +0100 Subject: [PATCH] Update lock.zwave.markdown (#1852) * Update lock.zwave.markdown * Update lock.zwave.markdown --- source/_components/lock.zwave.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_components/lock.zwave.markdown b/source/_components/lock.zwave.markdown index f98b02e3d97..f3101f33ca7 100644 --- a/source/_components/lock.zwave.markdown +++ b/source/_components/lock.zwave.markdown @@ -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. |