From ce8aea06fe1603067d55c73e533da9aa6a1b5477 Mon Sep 17 00:00:00 2001 From: shbatm Date: Sun, 26 Feb 2023 01:12:12 -0600 Subject: [PATCH] Add ISY994 services to set and delete lock codes (#26363) Co-authored-by: J. Nick Koston --- source/_integrations/isy994.markdown | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/source/_integrations/isy994.markdown b/source/_integrations/isy994.markdown index 530e431df5a..abccaa4d568 100644 --- a/source/_integrations/isy994.markdown +++ b/source/_integrations/isy994.markdown @@ -134,7 +134,8 @@ Insteon devices will include entities for setting the device On Level, Ramp Rate Once loaded, the following services will be exposed with the `isy994.` prefix, to allow advanced control over the ISY and its connected devices: - - Entity services for Home Assistant-connected entities: `send_node_command`, `send_raw_node_command`, and `set_ramp_rate`. + - Entity services for all Home Assistant-connected entities: `send_node_command`, `send_raw_node_command`. + - ISY Z-Wave Node services: `get_zwave_parameter`, `set_zwave_parameter`, `set_zwave_lock_user_code`, `delete_zwave_lock_user_code` - Generic ISY services: `send_program_command` #### Service `isy994.send_node_command` @@ -178,6 +179,26 @@ Update a Z-Wave Device parameter via the ISY. The parameter value will also be r | `value` | no | The value to set for the parameter. May be an integer or byte string (e.g. "0xFFFF"). | | `size` | no | The size of the parameter, either 1, 2, or 4 bytes. | +#### Service `isy994.set_zwave_lock_user_code` + +Set a Z-Wave Lock User Code via the ISY. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ----------------------------------------------------------------------------------------------- | +| `entity_id` | no | Name of target entity for the command, e.g., `lock.front_door`. The entity must be an ISY Z-Wave Lock entity. | +| `user_num` | no | The user slot number to set on the end device. | +| `code` | no | The lock code to set for the user slot. | + + +#### Service `isy994.delete_zwave_lock_user_code` + +Delete a Z-Wave Lock User Code via the ISY. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ----------------------------------------------------------------------------------------------- | +| `entity_id` | no | Name of target entity for the command, e.g., `lock.front_door`. The entity must be an ISY Z-Wave Lock entity. | +| `user_num` | no | The user slot number to delete the code on the end device. | + #### Service `isy994.rename_node` Rename a node or group (scene) on the ISY994. Note: this will not automatically change the Home Assistant Entity Name or Entity ID to match. The entity name and ID will only be updated after calling `isy994.reload` or restarting Home Assistant, and ONLY IF you have not already customized the name within Home Assistant.