From c73b717baff2afc58a264215e97992c6904dec37 Mon Sep 17 00:00:00 2001 From: martyn-vesternet <74303058+martyn-vesternet@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:08:22 +0000 Subject: [PATCH 1/3] fix(config): extend version range for Vesternet VES-ZW-DIM-001 Update firmwareVersion max to account for newer version of the Vesternet 2-Wire Capable Dimmer module. --- packages/config/config/devices/0x0330/ves-zw-dim-001.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/config/devices/0x0330/ves-zw-dim-001.json b/packages/config/config/devices/0x0330/ves-zw-dim-001.json index fa48162726da..0ffd1eb54e80 100644 --- a/packages/config/config/devices/0x0330/ves-zw-dim-001.json +++ b/packages/config/config/devices/0x0330/ves-zw-dim-001.json @@ -12,7 +12,7 @@ ], "firmwareVersion": { "min": "1.21", - "max": "1.26" + "max": "1.30" }, "paramInformation": [ { From 223f9934cddd299fdd017c223194ccf5fd6bdc4b Mon Sep 17 00:00:00 2001 From: martyn-vesternet <74303058+martyn-vesternet@users.noreply.github.com> Date: Thu, 25 Jan 2024 09:40:18 +0000 Subject: [PATCH 2/3] fix(config): blacklist window covering command class for Vesternet VES-ZW-MOT-018 Newer versions of the VES-ZW-MOT-018 module purport to support the Window Covering Command Class but this seems to cause issues between Home Assistant and Z-Wave JS (presumably Home Assistant tries to use the new command class which is failing in some way at the device level). Blacklisting the command class seems to revert the behaviour to how the older version of the module works, returning functionality to Home Assistant. --- .../config/config/devices/0x0330/ves-zw-mot-018.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/config/config/devices/0x0330/ves-zw-mot-018.json b/packages/config/config/devices/0x0330/ves-zw-mot-018.json index ddb66fed876e..35cf00ffbffa 100644 --- a/packages/config/config/devices/0x0330/ves-zw-mot-018.json +++ b/packages/config/config/devices/0x0330/ves-zw-mot-018.json @@ -223,10 +223,20 @@ ] } ], + "compat": { + "commandClasses": { + "remove": { + // The device probably has a bugged Window Covering CC implementation + "0x6a": { + "endpoints": "*" + } + } + } + }, "metadata": { "inclusion": "Step 1. Set primary controller/gateway into inclusion mode.\nStep 2. Either power cycle the product, or triple press the action button.\n Step 3. The connected light will stay on solid for 3 seconds to indicate successful inclusion.", "exclusion": "Step 1. Set primary controller/gateway into exclusion mode.\nStep 2. Triple press the action button.", "reset": "Press and hold the action button for over 10 seconds.", "manual": "https://cdn.shopify.com/s/files/1/0066/8149/3559/files/VES-ZW-MOT-018.pdf" } -} +} \ No newline at end of file From 2dfd67a2327e809a0173ed4a16569b62b765201e Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Thu, 25 Jan 2024 13:02:20 +0100 Subject: [PATCH 3/3] fix: lint --- packages/config/config/devices/0x0330/ves-zw-mot-018.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/config/devices/0x0330/ves-zw-mot-018.json b/packages/config/config/devices/0x0330/ves-zw-mot-018.json index 35cf00ffbffa..ce6c2c8e605a 100644 --- a/packages/config/config/devices/0x0330/ves-zw-mot-018.json +++ b/packages/config/config/devices/0x0330/ves-zw-mot-018.json @@ -239,4 +239,4 @@ "reset": "Press and hold the action button for over 10 seconds.", "manual": "https://cdn.shopify.com/s/files/1/0066/8149/3559/files/VES-ZW-MOT-018.pdf" } -} \ No newline at end of file +}