Skip to content

Commit

Permalink
fix: remove unnecessary properties
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Sep 28, 2023
1 parent 7f8af76 commit 946d5a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 54 deletions.
23 changes: 2 additions & 21 deletions packages/config/config/devices/0x0460/qnsw-001X16.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"#": "1",
"label": "SW1 Switch Type",
"valueSize": 1,
"minValue": 0,
"maxValue": 2,
"defaultValue": 2,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand Down Expand Up @@ -69,8 +66,7 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "20",
Expand All @@ -79,17 +75,13 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "25",
"label": "O1: Auto-On/Off Timer Unit",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -106,10 +98,7 @@
"#": "23",
"label": "O1: Relay Type",
"valueSize": 1,
"minValue": 0,
"maxValue": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -128,7 +117,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -151,7 +139,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -174,7 +161,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -197,7 +183,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -220,7 +205,6 @@
"description": "Reset to factory default settings and remove from the Z-Wave network.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -239,7 +223,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
},
{
Expand All @@ -248,7 +231,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
},
{
Expand All @@ -257,7 +239,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
}
],
Expand Down
42 changes: 9 additions & 33 deletions packages/config/config/devices/0x0460/qnsw-002P16.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"label": "SW1 Switch Type",
"valueSize": 1,
"defaultValue": 2,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -90,7 +89,6 @@
"label": "SW2 Switch Type",
"valueSize": 1,
"defaultValue": 2,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -113,15 +111,14 @@
"description": "swaped state SW1 control O2, SW2 control O1)",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
"label": "default",
"value": 0
},
{
"label": "swapped ",
"label": "swapped",
"value": 1
}
]
Expand All @@ -132,7 +129,6 @@
"description": "swaped state O1 - close, O2 - open",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand Down Expand Up @@ -162,8 +158,7 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "20",
Expand All @@ -172,8 +167,7 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "21",
Expand All @@ -182,8 +176,7 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "22",
Expand All @@ -192,15 +185,13 @@
"valueSize": 2,
"minValue": 0,
"maxValue": 32535,
"defaultValue": 0,
"unsigned": true
"defaultValue": 0
},
{
"#": "25",
"label": "O1: Auto-On/Off Timer Unit",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -218,7 +209,6 @@
"label": "O2: Auto-On/Off Timer Unit",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -236,7 +226,6 @@
"label": "O1: Relay Type",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -254,7 +243,6 @@
"label": "O2: Relay Type",
"valueSize": 1,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -274,8 +262,7 @@
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 50,
"unsigned": true
"defaultValue": 50
},
{
"#": "37",
Expand All @@ -284,8 +271,7 @@
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 50,
"unsigned": true
"defaultValue": 50
},
{
"#": "39",
Expand All @@ -294,8 +280,7 @@
"unit": "seconds",
"minValue": 0,
"maxValue": 120,
"defaultValue": 30,
"unsigned": true
"defaultValue": 30
},
{
"#": "40",
Expand All @@ -304,16 +289,14 @@
"unit": "seconds",
"minValue": 0,
"maxValue": 120,
"defaultValue": 30,
"unsigned": true
"defaultValue": 30
},
{
"#": "91",
"label": "Alarm Configuration: Water",
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -336,7 +319,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -359,7 +341,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -382,7 +363,6 @@
"description": "This parameter determines which alarm frames the Device should respond to and how.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -405,7 +385,6 @@
"description": "Reset to factory default settings and remove from the Z-Wave network.",
"valueSize": 4,
"defaultValue": 0,
"unsigned": true,
"allowManualEntry": false,
"options": [
{
Expand All @@ -425,7 +404,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
},
{
Expand All @@ -435,7 +413,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
},
{
Expand All @@ -445,7 +422,6 @@
"valueSize": 4,
"minValue": 0,
"maxValue": 2147483647,
"unsigned": true,
"readOnly": true
}
],
Expand Down

0 comments on commit 946d5a4

Please sign in to comment.