@zwave-js/config 15.22.5 → 15.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,8 +92,10 @@
92
92
  "label": "Dimming Speed - Up (Remote)",
93
93
  "description": "5-100 = 100 ms (500 ms - 10 seconds); 101-160 = seconds (minus 100); 161-254 = minutes (minus 160)",
94
94
  "valueSize": 1,
95
- "minValue": 0,
96
- "maxValue": 254,
95
+ "allowed": [
96
+ { "value": 0 },
97
+ { "range": [5, 254] }
98
+ ],
97
99
  "defaultValue": 25,
98
100
  "unsigned": true,
99
101
  "options": [
@@ -819,7 +821,7 @@
819
821
  },
820
822
  {
821
823
  "#": "158",
822
- "$if": "firmwareVersion <= 1.4",
824
+ "$if": "firmwareVersion <= 2.0",
823
825
  "label": "Dimmer Mode",
824
826
  "valueSize": 1,
825
827
  "defaultValue": 1,
@@ -901,14 +903,33 @@
901
903
  },
902
904
  {
903
905
  "#": "240",
904
- "$if": "firmwareVersion > 1.4",
906
+ "$if": "firmwareVersion <= 2.0",
905
907
  "label": "Factory Reset",
906
908
  "description": "Set to 120935937 to perform a factory reset",
907
909
  "valueSize": 4,
908
910
  "minValue": 0,
909
911
  "maxValue": 4294967295,
910
912
  "defaultValue": 0,
911
- "unsigned": true
913
+ "unsigned": true,
914
+ "hidden": true
915
+ },
916
+ {
917
+ "#": "240",
918
+ "label": "Factory Reset",
919
+ "valueSize": 4,
920
+ "defaultValue": 0,
921
+ "destructive": true,
922
+ "allowManualEntry": false,
923
+ "options": [
924
+ {
925
+ "label": "Default",
926
+ "value": 0
927
+ },
928
+ {
929
+ "label": "Perform a factory reset",
930
+ "value": 120935937
931
+ }
932
+ ]
912
933
  }
913
934
  ],
914
935
  "metadata": {
@@ -54,8 +54,10 @@
54
54
  "label": "Dimming Speed - Up (Remote)",
55
55
  "description": "5-100 = 100 ms (500 ms - 10 seconds); 101-160 = seconds (minus 100); 161-254 = minutes (minus 160)",
56
56
  "valueSize": 1,
57
- "minValue": 0,
58
- "maxValue": 254,
57
+ "allowed": [
58
+ { "value": 0 },
59
+ { "range": [5, 254] }
60
+ ],
59
61
  "defaultValue": 25,
60
62
  "unsigned": true,
61
63
  "options": [
@@ -891,22 +893,25 @@
891
893
  {
892
894
  "#": "116[0xff]",
893
895
  "$import": "templates/inovelli_templates.json#mmwave_person_in_zone",
894
- "label": "mmWave Person in the Reporting Area 1 (Read Only)"
896
+ "label": "mmWave Person in the Reporting Area 1 (Read Only)",
897
+ "hidden": true
895
898
  },
896
899
  {
897
900
  "#": "116[0xff00]",
898
901
  "$import": "templates/inovelli_templates.json#mmwave_person_in_zone",
899
- "label": "mmWave Person in the Reporting Area 2 (Read Only)"
902
+ "label": "mmWave Person in the Reporting Area 2 (Read Only)",
903
+ "hidden": true
900
904
  },
901
905
  {
902
906
  "#": "116[0xff0000]",
903
907
  "$import": "templates/inovelli_templates.json#mmwave_person_in_zone",
904
- "label": "mmWave Person in the Reporting Area 3 (Read Only)"
908
+ "label": "mmWave Person in the Reporting Area 3 (Read Only)",
909
+ "hidden": true
905
910
  },
906
911
  {
907
912
  "#": "116[0xff000000]",
908
913
  "$import": "templates/inovelli_templates.json#mmwave_person_in_zone",
909
- "label": "mmWave Person in the Reporting Area 4 (Read Only)"
914
+ "label": "mmWave Person in the Reporting Area (Read Only)"
910
915
  },
911
916
  {
912
917
  "#": "117",
@@ -1100,12 +1105,20 @@
1100
1105
  {
1101
1106
  "#": "240",
1102
1107
  "label": "Factory Reset",
1103
- "description": "Set to 120935937 to perform a factory reset",
1104
1108
  "valueSize": 4,
1105
- "minValue": 0,
1106
- "maxValue": 4294967295,
1107
1109
  "defaultValue": 0,
1108
- "unsigned": true
1110
+ "destructive": true,
1111
+ "allowManualEntry": false,
1112
+ "options": [
1113
+ {
1114
+ "label": "Default",
1115
+ "value": 0
1116
+ },
1117
+ {
1118
+ "label": "Perform a factory reset",
1119
+ "value": 120935937
1120
+ }
1121
+ ]
1109
1122
  }
1110
1123
  ],
1111
1124
  "metadata": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/config",
3
- "version": "15.22.5",
3
+ "version": "15.23.1",
4
4
  "description": "zwave-js: configuration files",
5
5
  "keywords": [],
6
6
  "publishConfig": {
@@ -79,8 +79,8 @@
79
79
  "test:dirty": "tsx ../maintenance/src/resolveDirtyTests.ts --run"
80
80
  },
81
81
  "dependencies": {
82
- "@zwave-js/core": "15.22.1",
83
- "@zwave-js/shared": "15.22.1",
82
+ "@zwave-js/core": "15.23.1",
83
+ "@zwave-js/shared": "15.23.0",
84
84
  "alcalzone-shared": "^5.0.0",
85
85
  "ansi-colors": "^4.1.3",
86
86
  "eslint": "^9.39.4",
@@ -101,14 +101,14 @@
101
101
  "@types/sinon": "^21.0.0",
102
102
  "@types/xml2js": "^0.4.14",
103
103
  "@types/yargs": "^17.0.35",
104
- "@typescript/native-preview": "7.0.0-dev.20260318.1",
105
- "@zwave-js/maintenance": "15.22.1",
104
+ "@typescript/native-preview": "7.0.0-dev.20260324.1",
105
+ "@zwave-js/maintenance": "15.23.1",
106
106
  "comment-json": "^4.6.2",
107
107
  "del-cli": "^7.0.0",
108
108
  "es-main": "^1.4.0",
109
109
  "js-levenshtein": "^1.1.6",
110
110
  "ky": "^1.8.1",
111
- "sinon": "^21.0.1",
111
+ "sinon": "^21.0.3",
112
112
  "tsx": "^4.21.0",
113
113
  "vitest": "^4.1.0",
114
114
  "xml2js": "^0.6.2",