From 112e300c58db9ff6940ffb2883b471833f1d26b0 Mon Sep 17 00:00:00 2001 From: CodeOriginal Date: Tue, 26 Dec 2023 12:03:34 -0700 Subject: [PATCH] fix(config): update zooz_template.json with values for zen16 v2.0 --- .../0x027a/templates/zooz_template.json | 72 +++++++++++++++++++ .../config/config/devices/0x027a/zen16.json | 12 ++-- 2 files changed, 78 insertions(+), 6 deletions(-) diff --git a/packages/config/config/devices/0x027a/templates/zooz_template.json b/packages/config/config/devices/0x027a/templates/zooz_template.json index 135125f2e410..7b6918afe15f 100644 --- a/packages/config/config/devices/0x027a/templates/zooz_template.json +++ b/packages/config/config/devices/0x027a/templates/zooz_template.json @@ -909,6 +909,78 @@ { "label": "Garage door (momentary mode for Z-Wave control)", "value": 3 + }, + { + "label": "Leak alarm (water sensor)", + "value": 4 + }, + { + "label": "Heat alarm", + "value": 5 + }, + { + "label": "Motion alert", + "value": 6 + }, + { + "label": "Open/close alert (door sensor)", + "value": 7 + }, + { + "label": "CO alarm", + "value": 8 + }, + { + "label": "CO2 alarm", + "value": 9 + }, + { + "label": "On/off report (dry contact switch/sensor)", + "value": 10 + }, + { + "label": "Relay - garage door mode; input - door sensor", + "value": 11 + } + ] + }, + "zen16_switch_invert_v2": { + "valueSize": 1, + "defaultValue": 0, + "unsigned": true, + "allowManualEntry": false, + "options": [ + { + "label": "Values not reversed", + "value": 0 + }, + { + "label": "Leak alarm (water sensor)", + "value": 4 + }, + { + "label": "Heat alarm", + "value": 5 + }, + { + "label": "Motion alert", + "value": 6 + }, + { + "label": "Open/close alert (door sensor)", + "value": 7 + }, + { + "label": "CO alarm", + "value": 8 + }, + { + "label": "CO2 alarm", + "value": 9 + }, + { + "label": "On/off report (dry contact switch/sensor)", + "value": 10 } ] }, diff --git a/packages/config/config/devices/0x027a/zen16.json b/packages/config/config/devices/0x027a/zen16.json index e937ce20eefd..637009e037a8 100644 --- a/packages/config/config/devices/0x027a/zen16.json +++ b/packages/config/config/devices/0x027a/zen16.json @@ -78,8 +78,8 @@ "#": "25", "$if": "firmwareVersion >= 1.2", "$import": "templates/zooz_template.json#zen16_switch_invert_v2", - "label": "Switch 1: Invert Value" - "description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit).", + "label": "Switch 1: Invert Value", + "description": "Invert the reported values for your selected switch type in Sw1 terminals (select the same value as you chose for parameter 2 to invert the values for open and closed circuit)." }, { "#": "3", @@ -97,8 +97,8 @@ "#": "26", "$if": "firmwareVersion >= 1.2", "$import": "templates/zooz_template.json#zen16_switch_invert_v2", - "label": "Switch 2: Invert Value" - "description": "Invert the reported values for your selected switch type in Sw2 terminals (select the same value as you chose for parameter 3 to invert the values for open and closed circuit).", + "label": "Switch 2: Invert Value", + "description": "Invert the reported values for your selected switch type in Sw2 terminals (select the same value as you chose for parameter 3 to invert the values for open and closed circuit)." }, { "#": "4", @@ -116,8 +116,8 @@ "#": "27", "$if": "firmwareVersion >= 1.2", "$import": "templates/zooz_template.json#zen16_switch_invert_v2", - "label": "Switch 3: Invert Value" - "description": "Invert the reported values for your selected switch type in Sw3 terminals (select the same value as you chose for parameter 4 to invert the values for open and closed circuit).", + "label": "Switch 3: Invert Value", + "description": "Invert the reported values for your selected switch type in Sw3 terminals (select the same value as you chose for parameter 4 to invert the values for open and closed circuit)." }, { "#": "5",