From 946d5a47625e7b6a501c4306ca2e5e52a804fb8b Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Thu, 28 Sep 2023 23:10:46 +0200 Subject: [PATCH] fix: remove unnecessary properties --- .../config/devices/0x0460/qnsw-001X16.json | 23 +--------- .../config/devices/0x0460/qnsw-002P16.json | 42 ++++--------------- 2 files changed, 11 insertions(+), 54 deletions(-) diff --git a/packages/config/config/devices/0x0460/qnsw-001X16.json b/packages/config/config/devices/0x0460/qnsw-001X16.json index 2c0be4757137..53a42f6f1fd1 100644 --- a/packages/config/config/devices/0x0460/qnsw-001X16.json +++ b/packages/config/config/devices/0x0460/qnsw-001X16.json @@ -34,10 +34,7 @@ "#": "1", "label": "SW1 Switch Type", "valueSize": 1, - "minValue": 0, - "maxValue": 2, "defaultValue": 2, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -69,8 +66,7 @@ "valueSize": 2, "minValue": 0, "maxValue": 32535, - "defaultValue": 0, - "unsigned": true + "defaultValue": 0 }, { "#": "20", @@ -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": [ { @@ -106,10 +98,7 @@ "#": "23", "label": "O1: Relay Type", "valueSize": 1, - "minValue": 0, - "maxValue": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -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": [ { @@ -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": [ { @@ -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": [ { @@ -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": [ { @@ -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": [ { @@ -239,7 +223,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true }, { @@ -248,7 +231,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true }, { @@ -257,7 +239,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true } ], diff --git a/packages/config/config/devices/0x0460/qnsw-002P16.json b/packages/config/config/devices/0x0460/qnsw-002P16.json index 88ff5ba64baf..ff6f18981fd4 100644 --- a/packages/config/config/devices/0x0460/qnsw-002P16.json +++ b/packages/config/config/devices/0x0460/qnsw-002P16.json @@ -68,7 +68,6 @@ "label": "SW1 Switch Type", "valueSize": 1, "defaultValue": 2, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -90,7 +89,6 @@ "label": "SW2 Switch Type", "valueSize": 1, "defaultValue": 2, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -113,7 +111,6 @@ "description": "swaped state SW1 control O2, SW2 control O1)", "valueSize": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -121,7 +118,7 @@ "value": 0 }, { - "label": "swapped ", + "label": "swapped", "value": 1 } ] @@ -132,7 +129,6 @@ "description": "swaped state O1 - close, O2 - open", "valueSize": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -162,8 +158,7 @@ "valueSize": 2, "minValue": 0, "maxValue": 32535, - "defaultValue": 0, - "unsigned": true + "defaultValue": 0 }, { "#": "20", @@ -172,8 +167,7 @@ "valueSize": 2, "minValue": 0, "maxValue": 32535, - "defaultValue": 0, - "unsigned": true + "defaultValue": 0 }, { "#": "21", @@ -182,8 +176,7 @@ "valueSize": 2, "minValue": 0, "maxValue": 32535, - "defaultValue": 0, - "unsigned": true + "defaultValue": 0 }, { "#": "22", @@ -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": [ { @@ -218,7 +209,6 @@ "label": "O2: Auto-On/Off Timer Unit", "valueSize": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -236,7 +226,6 @@ "label": "O1: Relay Type", "valueSize": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -254,7 +243,6 @@ "label": "O2: Relay Type", "valueSize": 1, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -274,8 +262,7 @@ "unit": "%", "minValue": 0, "maxValue": 100, - "defaultValue": 50, - "unsigned": true + "defaultValue": 50 }, { "#": "37", @@ -284,8 +271,7 @@ "unit": "%", "minValue": 0, "maxValue": 100, - "defaultValue": 50, - "unsigned": true + "defaultValue": 50 }, { "#": "39", @@ -294,8 +280,7 @@ "unit": "seconds", "minValue": 0, "maxValue": 120, - "defaultValue": 30, - "unsigned": true + "defaultValue": 30 }, { "#": "40", @@ -304,8 +289,7 @@ "unit": "seconds", "minValue": 0, "maxValue": 120, - "defaultValue": 30, - "unsigned": true + "defaultValue": 30 }, { "#": "91", @@ -313,7 +297,6 @@ "description": "This parameter determines which alarm frames the Device should respond to and how.", "valueSize": 4, "defaultValue": 0, - "unsigned": true, "allowManualEntry": false, "options": [ { @@ -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": [ { @@ -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": [ { @@ -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": [ { @@ -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": [ { @@ -425,7 +404,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true }, { @@ -435,7 +413,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true }, { @@ -445,7 +422,6 @@ "valueSize": 4, "minValue": 0, "maxValue": 2147483647, - "unsigned": true, "readOnly": true } ],