From 28836636075de3d94d6a9922546fc2c9b9dafb4a Mon Sep 17 00:00:00 2001 From: Thomas Lunsford Date: Sat, 26 Mar 2022 20:40:17 +0000 Subject: [PATCH 1/2] fix(config): param 4 add value 3 for Zooz Zen16 --- .../config/config/devices/0x027a/zen16.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/packages/config/config/devices/0x027a/zen16.json b/packages/config/config/devices/0x027a/zen16.json index 9d72a6593e41..94e47f3b5ca1 100644 --- a/packages/config/config/devices/0x027a/zen16.json +++ b/packages/config/config/devices/0x027a/zen16.json @@ -175,6 +175,32 @@ }, { "#": "4", + "$if": "firmwareVersion <= 1.1", + "label": "Switch 3: Type", + "valueSize": 1, + "minValue": 0, + "maxValue": 3, + "defaultValue": 2, + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Momentary", + "value": 0 + }, + { + "label": "Toggle (follow switch)", + "value": 1 + }, + { + "label": "Toggle (change state on toggle)", + "value": 2 + } + ] + }, + { + "#": "4", + "$if": "firmwareVersion >= 1.2", "label": "Switch 3: Type", "valueSize": 1, "minValue": 0, @@ -194,6 +220,10 @@ { "label": "Toggle (change state on toggle)", "value": 2 + }, + { + "label": "Garage door (momentary mode for Z-Wave control)", + "value": 3 } ] }, From a629a0367b9ac0ec7a1b5948c93b820d04694223 Mon Sep 17 00:00:00 2001 From: AlCalzone Date: Sun, 27 Mar 2022 11:12:34 +0200 Subject: [PATCH 2/2] Update packages/config/config/devices/0x027a/zen16.json --- packages/config/config/devices/0x027a/zen16.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config/config/devices/0x027a/zen16.json b/packages/config/config/devices/0x027a/zen16.json index 94e47f3b5ca1..04fca5a8d192 100644 --- a/packages/config/config/devices/0x027a/zen16.json +++ b/packages/config/config/devices/0x027a/zen16.json @@ -179,7 +179,7 @@ "label": "Switch 3: Type", "valueSize": 1, "minValue": 0, - "maxValue": 3, + "maxValue": 2, "defaultValue": 2, "unsigned": true, "allowManualEntry": false,