Skip to content

Commit

Permalink
fix(config): update ZEN23 config file with conditional parameters (zw…
Browse files Browse the repository at this point in the history
…ave-js#3681)

Co-authored-by: Z-Wave JS Bot <bot@zwave-js.io>
  • Loading branch information
cybergrimes and zwave-js-bot authored Nov 9, 2021
1 parent fe4ba02 commit 109ad62
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
"manufacturer": "Zooz",
"manufacturerId": "0x027a",
"label": "ZEN23",
"description": "Z-Wave Plus On/Off Toggle Switch v4",
"description": "Z-Wave Plus On/Off Toggle Switch",
"devices": [
{
"productType": "0x1111",
"productId": "0x1e1c"
},
{
"productType": "0xb111",
"productId": "0x251c"
}
],
"firmwareVersion": {
"min": "4.0",
"min": "0.0",
"max": "255.255"
},
"associations": {
Expand All @@ -28,8 +32,28 @@
"paramInformation": [
{
"#": "1",
"$if": "firmwareVersion >= 1.5 && firmwareVersion < 3.0 || firmwareVersion === 20.15",
"label": "Switch behavior",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "UP=On, DOWN=Off",
"value": 0
},
{
"label": "UP=Off, DOWN=On",
"value": 1
}
]
},
{
"#": "1",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Switch behavior",
"description": "Determines whether up is on and down is off; or up is off, down is on",
"valueSize": 1,
"minValue": 0,
"maxValue": 2,
Expand All @@ -52,6 +76,7 @@
},
{
"#": "3",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Auto Turn-Off Timer",
"valueSize": 1,
"minValue": 0,
Expand All @@ -71,6 +96,7 @@
},
{
"#": "4",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Auto Turn-Off Timer Time",
"description": "Time after which the switch automatically turns off",
"unit": "minutes",
Expand All @@ -81,6 +107,7 @@
},
{
"#": "5",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Auto Turn-On Timer",
"valueSize": 1,
"minValue": 0,
Expand All @@ -100,6 +127,7 @@
},
{
"#": "6",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Auto Turn-On Timer Time",
"description": "Set the time after which the switch automatically turns on",
"unit": "minutes",
Expand All @@ -110,10 +138,12 @@
},
{
"#": "8",
"$if": "firmwareVersion >= 3.0 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"$import": "~/templates/master_template.json#state_after_power_failure_off_on_prev"
},
{
"#": "9",
"$if": "firmwareVersion >= 3.1 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Enable/Disable Scene Control",
"description": "Enable or disable scene control functionality for quick 2-tap.",
"valueSize": 1,
Expand All @@ -134,6 +164,7 @@
},
{
"#": "11",
"$if": "firmwareVersion >= 3.1 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Smart Bulb Mode (Disable Physical Switch)",
"description": "Enable/Disable Toggle / Z-Wave Control. NOTE: tap the upper paddle 10 times quickly to change this mode.",
"valueSize": 1,
Expand All @@ -158,6 +189,7 @@
},
{
"#": "12",
"$if": "firmwareVersion >= 3.4 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "3-Way Switch Type",
"description": "Choose the type of 3-way switch you want to use with this dimmer in a 3-way set-up.",
"valueSize": 1,
Expand All @@ -178,6 +210,7 @@
},
{
"#": "13",
"$if": "firmwareVersion >= 3.5 && firmwareVersion <= 20.14 || firmwareVersion >= 20.17",
"label": "Report status when toggle is disabled",
"description": "Report light status when both physical and Z-Wave control are disabled.",
"valueSize": 1,
Expand Down
31 changes: 0 additions & 31 deletions packages/config/config/devices/0x027a/zen23_0.0-2.9.json

This file was deleted.

156 changes: 0 additions & 156 deletions packages/config/config/devices/0x027a/zen23_3.0.json

This file was deleted.

0 comments on commit 109ad62

Please sign in to comment.