diff --git a/.eslintrc.js b/.eslintrc.js index 5c298459ce2c..9646946506c1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -194,5 +194,12 @@ module.exports = { "@zwave-js/no-forbidden-imports": "error", }, }, + { + files: ["packages/config/config/devices/**/*.json"], + parser: "jsonc-eslint-parser", + rules: { + "@zwave-js/consistent-device-configs": "error", + }, + }, ], }; diff --git a/.vscode/settings.json b/.vscode/settings.json index f8d32aa35b25..3c9b5295081a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -38,7 +38,8 @@ "javascript", "javascriptreact", "typescript", - "typescriptreact" + "typescriptreact", + "jsonc" ], "files.exclude": { "node_modules/": true, diff --git a/package.json b/package.json index dc346ef67561..05cb2f8c28dc 100644 --- a/package.json +++ b/package.json @@ -79,6 +79,7 @@ "fs-extra": "^11.1.1", "husky": "^8.0.3", "json5": "^2.2.3", + "jsonc-eslint-parser": "^2.3.0", "lint-staged": "^14.0.1", "p-queue": "^7.4.1", "reflect-metadata": "^0.1.13", diff --git a/packages/config/config/.eslintrc.js b/packages/config/config/.eslintrc.js new file mode 100644 index 000000000000..83e96d99f2dd --- /dev/null +++ b/packages/config/config/.eslintrc.js @@ -0,0 +1,14 @@ +/* + * Custom ESLint rules for device config files + */ + +module.exports = { + root: true, + parser: "jsonc-eslint-parser", + plugins: [ + "@zwave-js", + ], + rules: { + "@zwave-js/consistent-device-config-property-order": "error", + } +}; diff --git a/packages/config/config/devices/0x0000/yrl220.json b/packages/config/config/devices/0x0000/yrl220.json index 621ca60c4933..52e566e2d282 100644 --- a/packages/config/config/devices/0x0000/yrl220.json +++ b/packages/config/config/devices/0x0000/yrl220.json @@ -67,8 +67,8 @@ "#": "3", "label": "Re-lock Time", "description": "Time after unlocking that the device will lock", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 5, "maxValue": 255, "defaultValue": 30, @@ -109,8 +109,8 @@ "#": "7", "label": "Shutdown Time", "description": "Number of times the device is locked out after the invalid retries are exceeded", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 1, "maxValue": 255, "defaultValue": 30, diff --git a/packages/config/config/devices/0x0005/pe653.json b/packages/config/config/devices/0x0005/pe653.json index e9b956ec6eaf..823d935dde13 100644 --- a/packages/config/config/devices/0x0005/pe653.json +++ b/packages/config/config/devices/0x0005/pe653.json @@ -74,10 +74,10 @@ "#": "2[0xff00]", "label": "Heater Cooldown Period", "valueSize": 2, + "unit": "minutes", "minValue": -1, "maxValue": 15, "defaultValue": -1, - "unit": "minutes", "options": [ { "label": "No heater installed", @@ -100,9 +100,9 @@ "#": "3[0xff000000]", "label": "Water Temperature Offset", "valueSize": 4, + "unit": "°F", "minValue": -5, "maxValue": 5, - "unit": "°F", "defaultValue": 0 }, { diff --git a/packages/config/config/devices/0x000c/hs-fls100.json b/packages/config/config/devices/0x000c/hs-fls100.json index a979db46641c..aed9debae3f6 100644 --- a/packages/config/config/devices/0x000c/hs-fls100.json +++ b/packages/config/config/devices/0x000c/hs-fls100.json @@ -24,11 +24,11 @@ "label": "Light Level Threshold", "description": "Activate floodlight and send Basic Set Command when PIR is triggered while light level is below this threshold.", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 255, "defaultValue": 50, "unsigned": true, - "unit": "lux", "options": [ { "label": "Never turn on floodlight", diff --git a/packages/config/config/devices/0x000c/hs-hsm200.json b/packages/config/config/devices/0x000c/hs-hsm200.json index fa6745265155..22010f41388f 100644 --- a/packages/config/config/devices/0x000c/hs-hsm200.json +++ b/packages/config/config/devices/0x000c/hs-hsm200.json @@ -28,8 +28,8 @@ { "#": "1", "label": "Off Delay After Motion", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 127, "defaultValue": 10, @@ -53,8 +53,8 @@ { "#": "3", "label": "Light Level Report Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -69,8 +69,8 @@ { "#": "4", "label": "Temperature Report Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 60, diff --git a/packages/config/config/devices/0x001a/rf9617.json b/packages/config/config/devices/0x001a/rf9617.json index 82c5487ffcab..f54050d99a5d 100644 --- a/packages/config/config/devices/0x001a/rf9617.json +++ b/packages/config/config/devices/0x001a/rf9617.json @@ -28,8 +28,8 @@ { "#": "1", "label": "Delayed Off Time", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 127, "defaultValue": 0 @@ -37,8 +37,8 @@ { "#": "2", "label": "Panic On Time", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 127, "defaultValue": 0 @@ -46,8 +46,8 @@ { "#": "3", "label": "Panic Off Time", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 127, "defaultValue": 0 diff --git a/packages/config/config/devices/0x001a/rf9642.json b/packages/config/config/devices/0x001a/rf9642.json index c28ae1d0c529..cb1f1230dfdb 100644 --- a/packages/config/config/devices/0x001a/rf9642.json +++ b/packages/config/config/devices/0x001a/rf9642.json @@ -26,8 +26,8 @@ { "#": "2", "label": "Panic On Time", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -36,8 +36,8 @@ { "#": "3", "label": "Panic Off", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -84,8 +84,8 @@ { "#": "7", "label": "Dimmer Ramp Time", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 255, "defaultValue": 3, diff --git a/packages/config/config/devices/0x001e/ezmultipli.json b/packages/config/config/devices/0x001e/ezmultipli.json index 457f728e41bf..152bbd572b9f 100644 --- a/packages/config/config/devices/0x001e/ezmultipli.json +++ b/packages/config/config/devices/0x001e/ezmultipli.json @@ -30,8 +30,8 @@ { "#": "1", "label": "OnTime", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 0, "maxValue": 127, "defaultValue": 10 @@ -49,8 +49,8 @@ { "#": "3", "label": "LiteMin", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 0, "maxValue": 127, "defaultValue": 60 @@ -59,8 +59,8 @@ "#": "4", "label": "TempMin", "description": "A Temperature report is sent to the controller every TempMin minutes.", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 0, "maxValue": 127, "defaultValue": 60 diff --git a/packages/config/config/devices/0x003b/be468zp.json b/packages/config/config/devices/0x003b/be468zp.json index 437da3951158..1f68acbeb135 100644 --- a/packages/config/config/devices/0x003b/be468zp.json +++ b/packages/config/config/devices/0x003b/be468zp.json @@ -77,8 +77,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "12", @@ -86,8 +86,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "13", @@ -95,8 +95,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "14", @@ -104,8 +104,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "15", @@ -142,8 +142,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "18", @@ -151,8 +151,8 @@ "valueSize": 1, "minValue": 0, "maxValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true } ], "metadata": { diff --git a/packages/config/config/devices/0x003b/s-6500f.json b/packages/config/config/devices/0x003b/s-6500f.json index 8c63a6c61412..6ddeecce5576 100644 --- a/packages/config/config/devices/0x003b/s-6500f.json +++ b/packages/config/config/devices/0x003b/s-6500f.json @@ -68,8 +68,8 @@ "minValue": 0, "maxValue": 255, "defaultValue": 1, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true } ], "metadata": { diff --git a/packages/config/config/devices/0x0059/ses_302.json b/packages/config/config/devices/0x0059/ses_302.json index 2dabc526c446..dd3a599c8217 100644 --- a/packages/config/config/devices/0x0059/ses_302.json +++ b/packages/config/config/devices/0x0059/ses_302.json @@ -26,8 +26,8 @@ { "#": "1", "label": "Temperature Reporting Threshold", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -36,8 +36,8 @@ { "#": "2", "label": "Temperature Reporting Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x0059/ses_303.json b/packages/config/config/devices/0x0059/ses_303.json index 6711beb036bc..aca60a6adc82 100644 --- a/packages/config/config/devices/0x0059/ses_303.json +++ b/packages/config/config/devices/0x0059/ses_303.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Temperature Reporting Threshold", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -27,8 +27,8 @@ { "#": "2", "label": "Temperature Reporting Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 5, @@ -37,8 +37,8 @@ { "#": "3", "label": "Humidity Reporting Threshold", - "unit": "0.1 %rH", "valueSize": 1, + "unit": "0.1 %rH", "minValue": 0, "maxValue": 255, "defaultValue": 5, @@ -47,8 +47,8 @@ { "#": "4", "label": "Humidity Reporting Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x0059/ssp302.json b/packages/config/config/devices/0x0059/ssp302.json index d116d6ce9dbd..eafd8ccad9d2 100644 --- a/packages/config/config/devices/0x0059/ssp302.json +++ b/packages/config/config/devices/0x0059/ssp302.json @@ -27,8 +27,8 @@ "#": "2", "label": "Voltage delta", "description": "Voltage delta based configuration", - "unit": "V", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 60, "defaultValue": 0 @@ -37,8 +37,8 @@ "#": "3", "label": "Current delta", "description": "Current delta based configuration", - "unit": "A", "valueSize": 2, + "unit": "A", "minValue": 0, "maxValue": 15, "defaultValue": 0 @@ -47,8 +47,8 @@ "#": "4", "label": "Power Factor", "description": "Power Factor delta based configuration", - "unit": "%", "valueSize": 2, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 0 @@ -57,8 +57,8 @@ "#": "5", "label": "Active Power", "description": "Active Power delta based configuration", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 4000, "defaultValue": 0 @@ -67,8 +67,8 @@ "#": "6", "label": "Active Energy", "description": "Active Energy delta based configuration", - "unit": "Wh", "valueSize": 2, + "unit": "Wh", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -77,8 +77,8 @@ "#": "7", "label": "Apparent Energy", "description": "Apparent Energy delta based configuration", - "unit": "VAh", "valueSize": 2, + "unit": "VAh", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -86,8 +86,8 @@ { "#": "8", "label": "Switch Status time", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -97,8 +97,8 @@ "#": "9", "label": "Voltage time", "description": "Voltage time interval based", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -108,8 +108,8 @@ "#": "10", "label": "Current time", "description": "Current time interval based", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -118,8 +118,8 @@ { "#": "11", "label": "Power Factor time", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -128,8 +128,8 @@ { "#": "12", "label": "Active Power time", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -138,8 +138,8 @@ { "#": "13", "label": "Active Energy time", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -148,8 +148,8 @@ { "#": "14", "label": "Apparent Energy time", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 0, "maxValue": 65520, "defaultValue": 0, @@ -166,8 +166,8 @@ { "#": "16", "label": "Sleep Current Config", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 0, "maxValue": 1, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0059/swm301.json b/packages/config/config/devices/0x0059/swm301.json index 05722b13a110..bdcfc26ab27e 100644 --- a/packages/config/config/devices/0x0059/swm301.json +++ b/packages/config/config/devices/0x0059/swm301.json @@ -38,8 +38,8 @@ "#": "1", "label": "Meter register offset", "description": "current meter reading", - "unit": "Litre", "valueSize": 4, + "unit": "Litre", "minValue": 0, "maxValue": 99999999, "defaultValue": 0 @@ -48,8 +48,8 @@ "#": "2", "label": "Meter reading reporting intervals", "description": "how often meter reading is sent", - "unit": "minute", "valueSize": 2, + "unit": "minute", "minValue": 1, "maxValue": 10000, "defaultValue": 1440 @@ -58,8 +58,8 @@ "#": "3", "label": "Delta config for meter reading", "description": "min. delta for automatic report", - "unit": "Litre", "valueSize": 2, + "unit": "Litre", "minValue": 0, "maxValue": 10000, "defaultValue": 0 @@ -76,8 +76,8 @@ "#": "5", "label": "Temperature monitor on / off", "description": "enable temperature monitor", - "unit": "Boolean", "valueSize": 1, + "unit": "Boolean", "minValue": 0, "maxValue": 1, "defaultValue": 0 @@ -86,8 +86,8 @@ "#": "6", "label": "Temperature delta", "description": "change in temperature for report", - "unit": "deg. Celsius", "valueSize": 1, + "unit": "deg. Celsius", "minValue": 0, "maxValue": 30, "defaultValue": 0 @@ -96,8 +96,8 @@ "#": "7", "label": "Temperature Alarm Threshold", "description": "temperature triggering alarm", - "unit": "deg. Celsius", "valueSize": 1, + "unit": "deg. Celsius", "minValue": 0, "maxValue": 40, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0060/ac301.json b/packages/config/config/devices/0x0060/ac301.json index d7cae0e6d580..889530b2792f 100644 --- a/packages/config/config/devices/0x0060/ac301.json +++ b/packages/config/config/devices/0x0060/ac301.json @@ -25,8 +25,8 @@ { "#": "1", "label": "Temperature Auto Report period setting", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 120 @@ -88,8 +88,8 @@ { "#": "7", "label": "Open window detect time period", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 2, "maxValue": 30, "defaultValue": 15 @@ -126,8 +126,8 @@ { "#": "9", "label": "Open window detect delay time select", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 60, "defaultValue": 30 diff --git a/packages/config/config/devices/0x0060/an179.json b/packages/config/config/devices/0x0060/an179.json index 7e16a3b0e1d2..ab2d56749203 100644 --- a/packages/config/config/devices/0x0060/an179.json +++ b/packages/config/config/devices/0x0060/an179.json @@ -46,10 +46,10 @@ "label": "Group 1: Report Delay", "description": "Delaying time to report to group 1", "valueSize": 1, + "unit": "seconds", "minValue": 3, "maxValue": 25, "defaultValue": 3, - "unit": "seconds", "unsigned": true }, { diff --git a/packages/config/config/devices/0x0060/an180.json b/packages/config/config/devices/0x0060/an180.json index a31027927d51..906b2c614488 100644 --- a/packages/config/config/devices/0x0060/an180.json +++ b/packages/config/config/devices/0x0060/an180.json @@ -32,8 +32,8 @@ { "#": "2", "label": "Delaying time Group 1", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 3, "maxValue": 25, "defaultValue": 3 diff --git a/packages/config/config/devices/0x0060/an181.json b/packages/config/config/devices/0x0060/an181.json index 717c7fcc663a..de21d86aea7a 100644 --- a/packages/config/config/devices/0x0060/an181.json +++ b/packages/config/config/devices/0x0060/an181.json @@ -37,8 +37,8 @@ "#": "2", "label": "Delaying time", "description": "Set the delaying time to report to Group 1 in seconds", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 3, "maxValue": 25, "defaultValue": 3 @@ -64,8 +64,8 @@ { "#": "4", "label": "Interval for wattage auto report", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 1, @@ -79,8 +79,8 @@ { "#": "5", "label": "Interval for kW*h auto report", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 60, @@ -94,8 +94,8 @@ { "#": "6", "label": "Auto report load surpasses value", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 2500, "defaultValue": 0, @@ -110,8 +110,8 @@ "#": "7", "label": "Auto report change percentage", "description": "Auto report when the change of wattage surpasses the set percentage", - "unit": "Percent", "valueSize": 1, + "unit": "Percent", "minValue": 0, "maxValue": 100, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0060/an184.json b/packages/config/config/devices/0x0060/an184.json index 9eb3e083c0a3..b79742bf0a25 100644 --- a/packages/config/config/devices/0x0060/an184.json +++ b/packages/config/config/devices/0x0060/an184.json @@ -36,10 +36,10 @@ "label": "Group 1: Report Delay", "description": "Delaying time to report to group 1", "valueSize": 1, + "unit": "seconds", "minValue": 3, "maxValue": 25, "defaultValue": 3, - "unit": "seconds", "unsigned": true }, { @@ -65,30 +65,30 @@ "#": "4", "label": "Wattage Report Interval", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 1, - "unit": "minutes", "unsigned": true }, { "#": "5", "label": "kWh Report Interval", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 60, - "unit": "minutes", "unsigned": true }, { "#": "6", "label": "Wattage Report Threshold", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 3500, "defaultValue": 0, - "unit": "W", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0060/an188.json b/packages/config/config/devices/0x0060/an188.json index d7566d21b778..0dfb8321e2ae 100644 --- a/packages/config/config/devices/0x0060/an188.json +++ b/packages/config/config/devices/0x0060/an188.json @@ -36,10 +36,10 @@ "label": "Group 1: Report Delay", "description": "Delaying time to report to group 1", "valueSize": 1, + "unit": "seconds", "minValue": 3, "maxValue": 25, "defaultValue": 3, - "unit": "seconds", "unsigned": true }, { @@ -65,30 +65,30 @@ "#": "4", "label": "Wattage Report Interval", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 1, - "unit": "minutes", "unsigned": true }, { "#": "5", "label": "kWh Report Interval", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 60, - "unit": "minutes", "unsigned": true }, { "#": "6", "label": "Wattage Report Threshold", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 3500, "defaultValue": 0, - "unit": "W", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0060/sp817.json b/packages/config/config/devices/0x0060/sp817.json index eeb4a3201a5d..1f8ba8572f17 100644 --- a/packages/config/config/devices/0x0060/sp817.json +++ b/packages/config/config/devices/0x0060/sp817.json @@ -33,8 +33,8 @@ { "#": "4", "label": "Re-trigger Interval", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 5, "maxValue": 3600, "defaultValue": 180 @@ -42,8 +42,8 @@ { "#": "5", "label": "Lux Level", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 100, "defaultValue": 20 @@ -51,8 +51,8 @@ { "#": "6", "label": "On-Off Duration", - "unit": "Secs", "valueSize": 2, + "unit": "Secs", "minValue": 5, "maxValue": 3600, "defaultValue": 15 diff --git a/packages/config/config/devices/0x0063/14287_zw4002.json b/packages/config/config/devices/0x0063/14287_zw4002.json index e34460e70f99..ee82c61399ee 100644 --- a/packages/config/config/devices/0x0063/14287_zw4002.json +++ b/packages/config/config/devices/0x0063/14287_zw4002.json @@ -32,8 +32,8 @@ }, "paramInformation": [ { - "$if": "firmwareVersion >= 5.24", "#": "3", + "$if": "firmwareVersion >= 5.24", "$import": "~/templates/master_template.json#led_indicator_three_options_inverted" }, { diff --git a/packages/config/config/devices/0x0063/35211_zw6302B.json b/packages/config/config/devices/0x0063/35211_zw6302B.json index 65e5ab86cc49..bba60fd5016c 100644 --- a/packages/config/config/devices/0x0063/35211_zw6302B.json +++ b/packages/config/config/devices/0x0063/35211_zw6302B.json @@ -35,10 +35,10 @@ "#": "24", "label": "Temperature And Light Sensor Sensing Frequency", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 60, "defaultValue": 60, - "unit": "minutes", "unsigned": true }, { diff --git a/packages/config/config/devices/0x0063/35530_zw6302B.json b/packages/config/config/devices/0x0063/35530_zw6302B.json index 2c9276192123..0d9c6cee50eb 100644 --- a/packages/config/config/devices/0x0063/35530_zw6302B.json +++ b/packages/config/config/devices/0x0063/35530_zw6302B.json @@ -35,10 +35,10 @@ "#": "24", "label": "Temperature And Light Sensor Sensing Frequency", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 60, "defaultValue": 60, - "unit": "minutes", "unsigned": true }, { diff --git a/packages/config/config/devices/0x0063/52247_zw6309.json b/packages/config/config/devices/0x0063/52247_zw6309.json index 16fa6b1261cc..a695189b4763 100644 --- a/packages/config/config/devices/0x0063/52247_zw6309.json +++ b/packages/config/config/devices/0x0063/52247_zw6309.json @@ -42,10 +42,10 @@ "#": "22", "label": "Temperature Report Interval (on Battery)", "valueSize": 2, + "unit": "minutes", "minValue": 5, "maxValue": 1440, "defaultValue": 60, - "unit": "minutes", "unsigned": true, "options": [ { @@ -74,11 +74,11 @@ "#": "23", "label": "Battery Report Interval", "valueSize": 2, + "unit": "minutes", "minValue": 5, "maxValue": 1440, "defaultValue": 1440, "unsigned": true, - "unit": "minutes", "options": [ { "label": "5...60 minutes", diff --git a/packages/config/config/devices/0x0064/06436.json b/packages/config/config/devices/0x0064/06436.json index 4b3fc56e98ad..6d6b4f8745c9 100644 --- a/packages/config/config/devices/0x0064/06436.json +++ b/packages/config/config/devices/0x0064/06436.json @@ -63,8 +63,8 @@ { "#": "2", "label": "Automatically open or close after time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0068/36511.json b/packages/config/config/devices/0x0068/36511.json index 510887de8cd2..0ba7976ef55b 100644 --- a/packages/config/config/devices/0x0068/36511.json +++ b/packages/config/config/devices/0x0068/36511.json @@ -57,8 +57,8 @@ { "#": "6", "label": "Auto Scene Mode Duration", - "unit": "2", "valueSize": 2, + "unit": "2", "minValue": 1, "maxValue": 1127, "defaultValue": 3 diff --git a/packages/config/config/devices/0x0068/78008.json b/packages/config/config/devices/0x0068/78008.json index 1dd08dfb2161..4af0eb6e2d0b 100644 --- a/packages/config/config/devices/0x0068/78008.json +++ b/packages/config/config/devices/0x0068/78008.json @@ -41,8 +41,8 @@ "#": "2", "label": "Basic set OFF delay time for nodes of group2", "description": "0: Disable, 0-127 Second", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 127, "defaultValue": 0 @@ -51,8 +51,8 @@ "#": "3", "label": "Delay time to enter standby mode", "description": "After force to wake up, delay time to enter standby mode again", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 1, "maxValue": 255, "defaultValue": 10, @@ -61,8 +61,8 @@ { "#": "4", "label": "Delay time to enter standby after wake up", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 1, "maxValue": 255, "defaultValue": 5, @@ -71,8 +71,8 @@ { "#": "5", "label": "Set waiting exclusion time", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 1, "maxValue": 255, "defaultValue": 3, @@ -118,8 +118,8 @@ "#": "8", "label": "Tamper alarm continuously send", "description": "In tamper alarm mode, delay time for continuously send Sensor_Binary_report", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 3, "maxValue": 30, "defaultValue": 5 @@ -127,8 +127,8 @@ { "#": "9", "label": "Interval time for sending battery report", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "defaultValue": 3, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0068/td13010.json b/packages/config/config/devices/0x0068/td13010.json index 6610abab5e57..893128e9eb84 100644 --- a/packages/config/config/devices/0x0068/td13010.json +++ b/packages/config/config/devices/0x0068/td13010.json @@ -69,10 +69,10 @@ "#": "5", "label": "Power Reporting On Power Change", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10, - "unit": "%", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0068/td1311.json b/packages/config/config/devices/0x0068/td1311.json index f7bbed6f76b1..b2d8d3727f13 100644 --- a/packages/config/config/devices/0x0068/td1311.json +++ b/packages/config/config/devices/0x0068/td1311.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Meter Report duration", - "unit": "Minutes", "valueSize": 2, + "unit": "Minutes", "minValue": 5, "maxValue": 1092, "defaultValue": 30 diff --git a/packages/config/config/devices/0x007a/507801.json b/packages/config/config/devices/0x007a/507801.json index 5277acc69c7c..0d3fdaeb8dfd 100644 --- a/packages/config/config/devices/0x007a/507801.json +++ b/packages/config/config/devices/0x007a/507801.json @@ -27,50 +27,50 @@ "description": "For motor protection", "valueSize": 1, "unit": "0.1 seconds", - "unsigned": true, "minValue": 0, "maxValue": 255, - "defaultValue": 10 + "defaultValue": 10, + "unsigned": true }, { "#": "177", "label": "Travel Time Up, Byte 1", "valueSize": 1, "unit": "25.6 seconds", - "unsigned": true, "minValue": 0, "maxValue": 255, - "defaultValue": 4 + "defaultValue": 4, + "unsigned": true }, { "#": "178", "label": "Travel Time Up, Byte 2", "valueSize": 1, - "unsigned": true, "unit": "0.1 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 176 + "defaultValue": 176, + "unsigned": true }, { "#": "179", "label": "Travel Time Down, Byte 1", "valueSize": 1, - "unsigned": true, "unit": "25.6 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 4 + "defaultValue": 4, + "unsigned": true }, { "#": "180", "label": "Travel Time Down, Byte 2", "valueSize": 1, - "unsigned": true, "unit": "0.1 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 176 + "defaultValue": 176, + "unsigned": true } ], "metadata": { diff --git a/packages/config/config/devices/0x0084/fmi.json b/packages/config/config/devices/0x0084/fmi.json index 701736d49e5c..6f03c447fff7 100644 --- a/packages/config/config/devices/0x0084/fmi.json +++ b/packages/config/config/devices/0x0084/fmi.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Temperature Low Threshold", - "unit": "Degrees Celsius", "valueSize": 1, + "unit": "Degrees Celsius", "minValue": -10, "maxValue": 69, "defaultValue": 4 @@ -26,8 +26,8 @@ { "#": "2", "label": "Temperature High Threshold", - "unit": "Degrees Celsius", "valueSize": 1, + "unit": "Degrees Celsius", "minValue": -9, "maxValue": 70, "defaultValue": 70 @@ -35,8 +35,8 @@ { "#": "3", "label": "Meter Count", - "unit": "Tenths of Gallons", "valueSize": 4, + "unit": "Tenths of Gallons", "minValue": 0, "maxValue": 99999999, "defaultValue": 0 @@ -44,8 +44,8 @@ { "#": "4", "label": "Meter Report Interval", - "unit": "10s of Seconds", "valueSize": 1, + "unit": "10s of Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 6, @@ -54,8 +54,8 @@ { "#": "5", "label": "Meter Leak Threshold", - "unit": "Tenths of Gallons", "valueSize": 2, + "unit": "Tenths of Gallons", "minValue": 0, "maxValue": 65535, "defaultValue": 50, diff --git a/packages/config/config/devices/0x0084/mimo2.json b/packages/config/config/devices/0x0084/mimo2.json index cb167f7ff03e..e9da9ded9048 100644 --- a/packages/config/config/devices/0x0084/mimo2.json +++ b/packages/config/config/devices/0x0084/mimo2.json @@ -86,8 +86,8 @@ "#": "1[0x1f]", "label": "Relay 1 Trigger Interval", "description": "Momentary trigger time in 100ms intervals, 10=1s, 0=disable", - "unit": "100 ms", "valueSize": 1, + "unit": "100 ms", "minValue": 0, "maxValue": 31, "defaultValue": 0, @@ -98,8 +98,8 @@ "label": "Relay 1 Trigger Configuration on Sensor Input", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Disabled", @@ -142,8 +142,8 @@ "label": "Relay 2 Trigger on Sensor Input", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Disabled", diff --git a/packages/config/config/devices/0x0084/ssa1_ssa2.json b/packages/config/config/devices/0x0084/ssa1_ssa2.json index 351353b384c8..95b936e626f0 100644 --- a/packages/config/config/devices/0x0084/ssa1_ssa2.json +++ b/packages/config/config/devices/0x0084/ssa1_ssa2.json @@ -26,8 +26,8 @@ "#": "1", "label": "Delay before accept of Basic Set Off", "description": "Delay, from the time the siren-strobe turns on", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0085/vmz_solar.json b/packages/config/config/devices/0x0085/vmz_solar.json index 78f55a1f087a..519fa5200b30 100644 --- a/packages/config/config/devices/0x0085/vmz_solar.json +++ b/packages/config/config/devices/0x0085/vmz_solar.json @@ -56,8 +56,8 @@ { "#": "3", "label": "Measurement frequency", - "unit": "min", "valueSize": 1, + "unit": "min", "minValue": 1, "maxValue": 30, "defaultValue": 3 @@ -65,8 +65,8 @@ { "#": "4", "label": "Level of sensitivity for day", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 99, "defaultValue": 60 @@ -83,8 +83,8 @@ { "#": "6", "label": "Level of sensitivity for night", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 9, "defaultValue": 3 diff --git a/packages/config/config/devices/0x0085/vmz_solar_z-wave_plus.json b/packages/config/config/devices/0x0085/vmz_solar_z-wave_plus.json index 821012063396..1d446e407e38 100644 --- a/packages/config/config/devices/0x0085/vmz_solar_z-wave_plus.json +++ b/packages/config/config/devices/0x0085/vmz_solar_z-wave_plus.json @@ -56,8 +56,8 @@ "#": "3", "label": "Delay time", "description": "delay to auto shade", - "unit": "min", "valueSize": 1, + "unit": "min", "minValue": 0, "maxValue": 30, "defaultValue": 0 @@ -66,8 +66,8 @@ "#": "4", "label": "Level of sensitivity for day", "description": "Level of insolation to open/close the shades", - "unit": "mA", "valueSize": 1, + "unit": "mA", "minValue": 3, "maxValue": 100, "defaultValue": 3 @@ -75,8 +75,8 @@ { "#": "5", "label": "Temperature", - "unit": "C", "valueSize": 1, + "unit": "C", "minValue": 0, "maxValue": 0, "defaultValue": 0, @@ -108,8 +108,8 @@ "#": "17", "label": "Insolation level", "description": "Current on autoshade solar panel", - "unit": "mA", "valueSize": 1, + "unit": "mA", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -119,8 +119,8 @@ { "#": "21", "label": "Motor current", - "unit": "mA", "valueSize": 1, + "unit": "mA", "minValue": 0, "maxValue": 0, "defaultValue": 0, @@ -129,8 +129,8 @@ { "#": "77", "label": "CLOSE current", - "unit": "mA", "valueSize": 1, + "unit": "mA", "minValue": 1, "maxValue": 255, "defaultValue": 1, @@ -139,8 +139,8 @@ { "#": "78", "label": "OPEN current", - "unit": "mA", "valueSize": 1, + "unit": "mA", "minValue": 1, "maxValue": 255, "defaultValue": 1, diff --git a/packages/config/config/devices/0x0086/zw100.json b/packages/config/config/devices/0x0086/zw100.json index 38a4c6915aa7..4b89054077ec 100644 --- a/packages/config/config/devices/0x0086/zw100.json +++ b/packages/config/config/devices/0x0086/zw100.json @@ -117,8 +117,8 @@ "#": "41[0xffff00]", "$if": "firmwareVersion > 1.6 && firmwareVersion <= 1.9", "label": "Temperature Change Threshold", - "unit": "0.1 °C/°F", "valueSize": 3, + "unit": "0.1 °C/°F", "minValue": 10, "maxValue": 2120, "defaultValue": 20 @@ -134,8 +134,8 @@ "#": "41[0xffff0000]", "$if": "firmwareVersion >= 1.10", "label": "Temperature Change Threshold", - "unit": "0.1 °C/°F", "valueSize": 4, + "unit": "0.1 °C/°F", "minValue": 10, "maxValue": 2120, "defaultValue": 20 diff --git a/packages/config/config/devices/0x0089/zsl301eu.json b/packages/config/config/devices/0x0089/zsl301eu.json index b4a9d154e60e..4ecbc2050e24 100644 --- a/packages/config/config/devices/0x0089/zsl301eu.json +++ b/packages/config/config/devices/0x0089/zsl301eu.json @@ -119,8 +119,8 @@ { "#": "5", "label": "Delay In Time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 5, "defaultValue": 0 @@ -128,8 +128,8 @@ { "#": "6", "label": "Delay Out Time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 5, "defaultValue": 0 diff --git a/packages/config/config/devices/0x008a/heating_control.json b/packages/config/config/devices/0x008a/heating_control.json index 802413f3c61d..76c2be579697 100644 --- a/packages/config/config/devices/0x008a/heating_control.json +++ b/packages/config/config/devices/0x008a/heating_control.json @@ -42,8 +42,8 @@ "#": "2", "label": "Data request interval", "description": "Interval of updating data from thermostat and boiler", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 1, "maxValue": 255, "defaultValue": 14, @@ -53,8 +53,8 @@ "#": "3", "label": "T room update difference", "description": "Difference of temperature before new update", - "unit": "*0,1 degrees Celcius", "valueSize": 1, + "unit": "*0,1 degrees Celcius", "minValue": 1, "maxValue": 255, "defaultValue": 1, @@ -64,8 +64,8 @@ "#": "4", "label": "T setpoint update difference", "description": "Difference in setpoint before new update", - "unit": "*0,1 degrees Celcius", "valueSize": 1, + "unit": "*0,1 degrees Celcius", "minValue": 1, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x008a/tag_reader_500.json b/packages/config/config/devices/0x008a/tag_reader_500.json index 0a93f16b87cd..56b46d721e8f 100644 --- a/packages/config/config/devices/0x008a/tag_reader_500.json +++ b/packages/config/config/devices/0x008a/tag_reader_500.json @@ -34,8 +34,8 @@ "#": "2", "label": "Feedback time", "description": "the time the beep goes to off", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 15, diff --git a/packages/config/config/devices/0x008b/trane_xr524.json b/packages/config/config/devices/0x008b/trane_xr524.json index 759e7fdd9c9a..701ac33624b2 100644 --- a/packages/config/config/devices/0x008b/trane_xr524.json +++ b/packages/config/config/devices/0x008b/trane_xr524.json @@ -110,8 +110,8 @@ { "#": "9", "label": "Compressor Stage 1 MRT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 3, "maxValue": 9, "defaultValue": 0 @@ -119,8 +119,8 @@ { "#": "10", "label": "Minimum Off Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -128,8 +128,8 @@ { "#": "11", "label": "Compressor MOT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -137,8 +137,8 @@ { "#": "12", "label": "Indoor Heat Stage 1 MRT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 3, "maxValue": 9, "defaultValue": 3 @@ -146,8 +146,8 @@ { "#": "13", "label": "Heating Delta Stage 1 OFF", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 8, "defaultValue": 0 @@ -155,8 +155,8 @@ { "#": "14", "label": "Indoor Heat MOT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -164,8 +164,8 @@ { "#": "15", "label": "Sensor Calibration", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": -7, "maxValue": 7, "defaultValue": 0 @@ -173,8 +173,8 @@ { "#": "29", "label": "ESM Setpoint-Heating", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 100, "defaultValue": 65 @@ -182,8 +182,8 @@ { "#": "30", "label": "ESM Setpoint-Cooling", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 100, "defaultValue": 80 @@ -276,8 +276,8 @@ { "#": "141", "label": "Screen Timeout", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 120, "defaultValue": 0 @@ -285,8 +285,8 @@ { "#": "143", "label": "Sensor (Internal) Offset", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": -7, "maxValue": 7, "defaultValue": 0 diff --git a/packages/config/config/devices/0x008b/xl624.json b/packages/config/config/devices/0x008b/xl624.json index 22274ced1bcc..ba51cf8171e2 100644 --- a/packages/config/config/devices/0x008b/xl624.json +++ b/packages/config/config/devices/0x008b/xl624.json @@ -114,8 +114,8 @@ { "#": "9", "label": "Compressor Stage 1 MRT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 3, "maxValue": 9, "defaultValue": 0 @@ -123,8 +123,8 @@ { "#": "10", "label": "Minimum Off Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -132,8 +132,8 @@ { "#": "11", "label": "Compressor MOT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -141,8 +141,8 @@ { "#": "12", "label": "Indoor Heat Stage 1 MRT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 3, "maxValue": 9, "defaultValue": 3 @@ -150,8 +150,8 @@ { "#": "13", "label": "Heating Delta Stage 1 OFF", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 8, "defaultValue": 0 @@ -159,8 +159,8 @@ { "#": "14", "label": "Indoor Heat MOT", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -168,8 +168,8 @@ { "#": "15", "label": "Sensor Calibration", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": -7, "maxValue": 7, "defaultValue": 0 @@ -177,8 +177,8 @@ { "#": "29", "label": "ESM Setpoint-Heating", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 100, "defaultValue": 65 @@ -186,8 +186,8 @@ { "#": "30", "label": "ESM Setpoint-Cooling", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": 0, "maxValue": 100, "defaultValue": 80 @@ -280,8 +280,8 @@ { "#": "141", "label": "Screen Timeout", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 120, "defaultValue": 0 @@ -289,8 +289,8 @@ { "#": "143", "label": "Sensor (Internal) Offset", - "unit": "degrees", "valueSize": 1, + "unit": "degrees", "minValue": -7, "maxValue": 7, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0097/dhs-win-blw-dhs.json b/packages/config/config/devices/0x0097/dhs-win-blw-dhs.json index 9bc3a0d4ae92..e9366f478dae 100644 --- a/packages/config/config/devices/0x0097/dhs-win-blw-dhs.json +++ b/packages/config/config/devices/0x0097/dhs-win-blw-dhs.json @@ -56,8 +56,8 @@ "#": "2", "label": "Automatically close after", "description": "If not zero, automatically close blind after a user defined time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 0 @@ -91,8 +91,8 @@ "#": "4", "label": "Typical click timeout", "description": "Typical time used to differentiate click, hold, double and triple clicks", - "unit": "ms", "valueSize": 1, + "unit": "ms", "minValue": 1, "maxValue": 100, "defaultValue": 50 @@ -165,8 +165,8 @@ "#": "10", "label": "Full close time", "description": "Time to go from opened to closed state", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -176,8 +176,8 @@ "#": "11", "label": "Full open time", "description": "Time to go from closed to open state", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, diff --git a/packages/config/config/devices/0x0097/mini_keypad_rfid.json b/packages/config/config/devices/0x0097/mini_keypad_rfid.json index 3fcabe91647e..cd5422b2069a 100644 --- a/packages/config/config/devices/0x0097/mini_keypad_rfid.json +++ b/packages/config/config/devices/0x0097/mini_keypad_rfid.json @@ -78,8 +78,8 @@ "#": "4", "label": "Feedback beeps per second", "description": "To configure the number of beeps per second. Every beep is fixed about 10ms.", - "unit": "ms", "valueSize": 1, + "unit": "ms", "minValue": -128, "maxValue": 127, "defaultValue": 2 diff --git a/packages/config/config/devices/0x0097/multisensor.json b/packages/config/config/devices/0x0097/multisensor.json index f09a15fc32ce..50690883fa87 100644 --- a/packages/config/config/devices/0x0097/multisensor.json +++ b/packages/config/config/devices/0x0097/multisensor.json @@ -34,8 +34,8 @@ "#": "2", "label": "Mode Timeout", "description": "The time used in mode 2 to turn the sensor off .", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 3600, "defaultValue": 900 @@ -44,8 +44,8 @@ "#": "3", "label": "Switch off time", "description": "Switch off time starts after timeout.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 7200, "defaultValue": 2700 diff --git a/packages/config/config/devices/0x0098/ct100.json b/packages/config/config/devices/0x0098/ct100.json index f0d74746286a..788cd741b457 100644 --- a/packages/config/config/devices/0x0098/ct100.json +++ b/packages/config/config/devices/0x0098/ct100.json @@ -101,16 +101,16 @@ "valueSize": 4, "minValue": 0, "maxValue": 15, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { "#": "2[0xf00000]", "label": "Auxiliary Heat Type", "valueSize": 4, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false, "options": [ { @@ -129,8 +129,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 255, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { @@ -139,8 +139,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 255, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { diff --git a/packages/config/config/devices/0x0098/ct101.json b/packages/config/config/devices/0x0098/ct101.json index 03e3fc1d6577..9d059db4a192 100644 --- a/packages/config/config/devices/0x0098/ct101.json +++ b/packages/config/config/devices/0x0098/ct101.json @@ -91,16 +91,16 @@ "valueSize": 4, "minValue": 0, "maxValue": 15, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { "#": "2[0xf00000]", "label": "Auxiliary Heat Type", "valueSize": 4, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false, "options": [ { @@ -119,8 +119,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 255, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { @@ -129,8 +129,8 @@ "valueSize": 4, "minValue": 0, "maxValue": 255, - "readOnly": true, "unsigned": true, + "readOnly": true, "allowManualEntry": false }, { diff --git a/packages/config/config/devices/0x0098/ct200.json b/packages/config/config/devices/0x0098/ct200.json index 8e42ce001620..ed2c3d6a775a 100644 --- a/packages/config/config/devices/0x0098/ct200.json +++ b/packages/config/config/devices/0x0098/ct200.json @@ -107,8 +107,8 @@ "#": "7", "label": "Thermostat Swing Temp", "description": "Temperature spread between the on and off temperatures", - "unit": "degrees Fahrenheit", "valueSize": 1, + "unit": "degrees Fahrenheit", "defaultValue": 2, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0098/ct200x.json b/packages/config/config/devices/0x0098/ct200x.json index 86d7724fdb42..bfcb03bbfa80 100644 --- a/packages/config/config/devices/0x0098/ct200x.json +++ b/packages/config/config/devices/0x0098/ct200x.json @@ -106,8 +106,8 @@ "#": "7", "label": "Thermostat Swing Temp", "description": "Temperature spread between the on and off temperatures", - "unit": "degrees Fahrenheit", "valueSize": 1, + "unit": "degrees Fahrenheit", "defaultValue": 2, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0103/ses_fs-zw.json b/packages/config/config/devices/0x0103/ses_fs-zw.json index d0a6f71ee196..d0bd29eefbd9 100644 --- a/packages/config/config/devices/0x0103/ses_fs-zw.json +++ b/packages/config/config/devices/0x0103/ses_fs-zw.json @@ -48,8 +48,8 @@ "#": "2", "label": "Energy minimum report time", "description": "Minimum time between two (non-requested) energy values", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 10 @@ -58,8 +58,8 @@ "#": "3", "label": "Energy maximum report time", "description": "Maximum time between two energy values, independently of changes in the value", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 120 @@ -68,8 +68,8 @@ "#": "4", "label": "Power minimum report time", "description": "Minimum time between two (non-requested) power values", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 10 @@ -78,8 +78,8 @@ "#": "5", "label": "Power maximum report time", "description": "Maximum time between two power values, independently of changes in the value", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 120 @@ -88,8 +88,8 @@ "#": "6", "label": "Energy delta value", "description": "Minimum change required for a new energy value to be transmitted.", - "unit": "0.1 Wh", "valueSize": 2, + "unit": "0.1 Wh", "minValue": 0, "maxValue": 32767, "defaultValue": 10 @@ -98,8 +98,8 @@ "#": "7", "label": "Power delta value", "description": "Minimum change required for a new power value to be transmitted.", - "unit": "0.1 Wh", "valueSize": 2, + "unit": "0.1 Wh", "minValue": 0, "maxValue": 32767, "defaultValue": 150 diff --git a/packages/config/config/devices/0x0108/dch-z310.json b/packages/config/config/devices/0x0108/dch-z310.json index 4feedbe4e684..f18bc7ad91aa 100644 --- a/packages/config/config/devices/0x0108/dch-z310.json +++ b/packages/config/config/devices/0x0108/dch-z310.json @@ -37,8 +37,8 @@ "#": "10", "label": "Auto Report Battery Time", "description": "The interval time for auto report the battery level", - "unit": "30 minutes", "valueSize": 1, + "unit": "30 minutes", "minValue": 0, "maxValue": 127, "defaultValue": 12 diff --git a/packages/config/config/devices/0x0108/dch-z510.json b/packages/config/config/devices/0x0108/dch-z510.json index ff2c3028998a..709fa5f27f1d 100644 --- a/packages/config/config/devices/0x0108/dch-z510.json +++ b/packages/config/config/devices/0x0108/dch-z510.json @@ -18,8 +18,8 @@ { "#": "29", "label": "Disable Alarm", - "unit": "disable_alarm", "valueSize": 1, + "unit": "disable_alarm", "defaultValue": 0, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0109/pid15903.json b/packages/config/config/devices/0x0109/pid15903.json index 05c454b13429..6bbb97890914 100644 --- a/packages/config/config/devices/0x0109/pid15903.json +++ b/packages/config/config/devices/0x0109/pid15903.json @@ -18,8 +18,8 @@ "#": "1", "label": "Auto Report Timing", "description": "Reports kWh/kVAh", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 60, "maxValue": 255, "defaultValue": 60, @@ -29,8 +29,8 @@ "#": "2", "label": "Report When Wattage Changes", "description": "Reports V/A/W", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 5, "maxValue": 3600, "defaultValue": 50 diff --git a/packages/config/config/devices/0x0109/zp3111-5.json b/packages/config/config/devices/0x0109/zp3111-5.json index adef054ed1af..9aac1600637e 100644 --- a/packages/config/config/devices/0x0109/zp3111-5.json +++ b/packages/config/config/devices/0x0109/zp3111-5.json @@ -44,8 +44,8 @@ "#": "3", "label": "Humidity", "description": "Configure Relative Humidity", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 @@ -53,8 +53,8 @@ { "#": "4", "label": "Light Sensor", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 @@ -63,8 +63,8 @@ "#": "5", "label": "Trigger Interval", "description": "Set the trigger interval for motion sensor re-activation.", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 3, diff --git a/packages/config/config/devices/0x0109/zw4101.json b/packages/config/config/devices/0x0109/zw4101.json index 16dffde88360..384d2106dc0b 100644 --- a/packages/config/config/devices/0x0109/zw4101.json +++ b/packages/config/config/devices/0x0109/zw4101.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Up output time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 1, "maxValue": 255, "defaultValue": 1, @@ -27,8 +27,8 @@ { "#": "2", "label": "Stop output time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 1, "maxValue": 255, "defaultValue": 1, @@ -37,8 +37,8 @@ { "#": "3", "label": "Down output time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 1, "maxValue": 255, "defaultValue": 1, diff --git a/packages/config/config/devices/0x010a/01e06s263.json b/packages/config/config/devices/0x010a/01e06s263.json index 60bfa360a7d0..9e367da6d381 100644 --- a/packages/config/config/devices/0x010a/01e06s263.json +++ b/packages/config/config/devices/0x010a/01e06s263.json @@ -89,55 +89,55 @@ }, { "#": "31", - "label": "Basic Set On From Group 2", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 2" }, { "#": "32", - "label": "Basic Set On From Group 3", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 3" }, { "#": "33", - "label": "Basic Set On From Group 4", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 4" }, { "#": "34", - "label": "Basic Set On From Group 5", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 5" }, { "#": "35", - "label": "Basic Set On From Group 6", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 6" }, { "#": "36", - "label": "Basic Set On From Group 7", - "$import": "templates/vitrum_template.json#basic_set_type" + "$import": "templates/vitrum_template.json#basic_set_type", + "label": "Basic Set On From Group 7" }, { "#": "206", - "label": "Buttons Maximum Brightness", "$import": "~/templates/master_template.json#base_0-100_nounit", + "label": "Buttons Maximum Brightness", "defaultValue": 100 }, { "#": "207", - "label": "Buttons Minimum Brightness", "$import": "~/templates/master_template.json#base_0-100_nounit", + "label": "Buttons Minimum Brightness", "defaultValue": 5 }, { "#": "209", - "label": "Buzzer", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Buzzer" }, { "#": "218", - "label": "Front-end Buttons Lock", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Front-end Buttons Lock" } ], "metadata": { diff --git a/packages/config/config/devices/0x010f/fgbs222.json b/packages/config/config/devices/0x010f/fgbs222.json index 89441aef0dff..143379ea95f4 100644 --- a/packages/config/config/devices/0x010f/fgbs222.json +++ b/packages/config/config/devices/0x010f/fgbs222.json @@ -244,8 +244,8 @@ }, { "#": "24", - "label": "Reverse inputs", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Reverse inputs" }, { "#": "63", @@ -413,8 +413,8 @@ }, { "#": "25", - "label": "Reverse outputs", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Reverse outputs" } ], "metadata": { diff --git a/packages/config/config/devices/0x010f/fgk101.json b/packages/config/config/devices/0x010f/fgk101.json index 5e63d2cfc552..cec3cb2d9bd0 100644 --- a/packages/config/config/devices/0x010f/fgk101.json +++ b/packages/config/config/devices/0x010f/fgk101.json @@ -59,11 +59,11 @@ "$if": "firmwareVersion <= 3.1", "label": "IN1 Alarm Cancellation Delay", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, - "unsigned": true, - "unit": "seconds" + "unsigned": true }, { "#": "1", @@ -360,10 +360,10 @@ "$if": "firmwareVersion >= 3.2", "label": "Time Delay of ON Command Frame", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, - "defaultValue": 0, - "unit": "seconds" + "defaultValue": 0 }, { "#": "15", @@ -395,10 +395,10 @@ "$if": "firmwareVersion >= 3.2", "label": "Off Command Delay", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, - "defaultValue": 0, - "unit": "seconds" + "defaultValue": 0 }, { "#": "20", @@ -440,10 +440,10 @@ "$if": "firmwareVersion >= 3.2", "label": "Tamper Alarm Duration", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, - "defaultValue": 5, - "unit": "seconds" + "defaultValue": 5 }, { "#": "31", @@ -457,40 +457,40 @@ "$if": "firmwareVersion >= 3.2", "label": "Temperature Measurement Interval", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, - "defaultValue": 300, - "unit": "seconds" + "defaultValue": 300 }, { "#": "51", "$if": "firmwareVersion >= 3.2", "label": "Temperature Reports Threshold", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 300, - "defaultValue": 10, - "unit": "0.1 °C" + "defaultValue": 10 }, { "#": "52", "$if": "firmwareVersion >= 3.2", "label": "Temperature Reports Interval", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, - "defaultValue": 0, - "unit": "seconds" + "defaultValue": 0 }, { "#": "53", "$if": "firmwareVersion >= 3.2", "label": "Temperature Calibration", "valueSize": 4, + "unit": "0.1 °C", "minValue": -1000, "maxValue": 1000, - "defaultValue": 0, - "unit": "0.1 °C" + "defaultValue": 0 }, { "#": "54[0x01]", @@ -511,20 +511,20 @@ "$if": "firmwareVersion >= 3.2", "label": "High Temperature Alarm Threshold", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 1000, - "defaultValue": 540, - "unit": "0.1 °C" + "defaultValue": 540 }, { "#": "56", "$if": "firmwareVersion >= 3.2", "label": "Low Temperature Alarm Threshold", "valueSize": 2, + "unit": "0.1 °C", "minValue": -300, "maxValue": 700, - "defaultValue": 40, - "unit": "0.1 °C" + "defaultValue": 40 }, { "#": "70[0x01]", diff --git a/packages/config/config/devices/0x010f/fgkf601.json b/packages/config/config/devices/0x010f/fgkf601.json index 8cc9c74f27b3..182105483b7c 100644 --- a/packages/config/config/devices/0x010f/fgkf601.json +++ b/packages/config/config/devices/0x010f/fgkf601.json @@ -38,8 +38,8 @@ "#": "2", "label": "Lock Mode - time to lock and locking button", "description": "0 - Lock Mode disabled, 5-1791 - calculated value", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 1791, "defaultValue": 60 @@ -102,8 +102,8 @@ "#": "9", "label": "Sequences - timeout", "description": "5-30 (0.5-3s, 0.1s step) - time to lock", - "unit": "s", "valueSize": 1, + "unit": "s", "minValue": 5, "maxValue": 30, "defaultValue": 10 diff --git a/packages/config/config/devices/0x010f/fgms001.json b/packages/config/config/devices/0x010f/fgms001.json index e6066b0d4a3e..da7f6c806cd7 100644 --- a/packages/config/config/devices/0x010f/fgms001.json +++ b/packages/config/config/devices/0x010f/fgms001.json @@ -778,10 +778,10 @@ "label": "LED Brightness", "description": "Brightness of the LED when it's on.", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, - "defaultValue": 50, - "unit": "%" + "defaultValue": 50 }, { "#": "82", @@ -845,10 +845,10 @@ "label": "Low Temperature Threshold For Blue", "description": "When the temperature is below this, the light is blue.", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 255, - "defaultValue": 18, - "unit": "°C" + "defaultValue": 18 }, { "#": "87", @@ -866,10 +866,10 @@ "label": "High Temperature Threshold For Red", "description": "When the temperature is above this, the light is red.", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 255, - "defaultValue": 28, - "unit": "°C" + "defaultValue": 28 }, { "#": "89", diff --git a/packages/config/config/devices/0x010f/fgr223.json b/packages/config/config/devices/0x010f/fgr223.json index 216b40d7db26..dc4b5ad4abb8 100644 --- a/packages/config/config/devices/0x010f/fgr223.json +++ b/packages/config/config/devices/0x010f/fgr223.json @@ -258,8 +258,8 @@ { "#": "152", "label": "Venetian blind - time of full turn of the slats", - "unit": "1/100 sec", "valueSize": 4, + "unit": "1/100 sec", "minValue": 0, "maxValue": 65535, "defaultValue": 150 @@ -289,8 +289,8 @@ "#": "154", "label": "Delay motor stop", "description": "Delay motor stop after reaching end switch", - "unit": "1/10 sec", "valueSize": 2, + "unit": "1/10 sec", "minValue": 0, "maxValue": 255, "defaultValue": 10 @@ -299,8 +299,8 @@ "#": "155", "label": "Motor operation detection", "description": "Power threshold to be interpreted as reaching a limit switch", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 255, "defaultValue": 10 @@ -308,8 +308,8 @@ { "#": "156", "label": "Time of up movement", - "unit": "1/100 sec", "valueSize": 4, + "unit": "1/100 sec", "minValue": 0, "maxValue": 65535, "defaultValue": 6000 @@ -317,8 +317,8 @@ { "#": "157", "label": "Time of down movement", - "unit": "1/100 sec", "valueSize": 4, + "unit": "1/100 sec", "minValue": 0, "maxValue": 65535, "defaultValue": 6000 diff --git a/packages/config/config/devices/0x010f/fgrgbw-442.json b/packages/config/config/devices/0x010f/fgrgbw-442.json index 5d98636f3d59..b7ec68e53321 100644 --- a/packages/config/config/devices/0x010f/fgrgbw-442.json +++ b/packages/config/config/devices/0x010f/fgrgbw-442.json @@ -181,8 +181,8 @@ { "#": "62", "label": "Power reports - periodic", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 3600 @@ -198,8 +198,8 @@ { "#": "64", "label": "Analog inputs reports - periodic", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 0 @@ -215,8 +215,8 @@ { "#": "66", "label": "Energy reports - periodic", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 3600 @@ -241,8 +241,8 @@ { "#": "151", "label": "Local control - transition time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 254, "defaultValue": 3 @@ -250,8 +250,8 @@ { "#": "152", "label": "Remote control - transition time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 254, "defaultValue": 3 @@ -352,8 +352,8 @@ { "#": "35", "label": "Duration of alarm signalization", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 600, diff --git a/packages/config/config/devices/0x010f/fgs214.json b/packages/config/config/devices/0x010f/fgs214.json index 74b36bb03f9e..2df48858b321 100644 --- a/packages/config/config/devices/0x010f/fgs214.json +++ b/packages/config/config/devices/0x010f/fgs214.json @@ -139,8 +139,8 @@ "$import": "templates/fibaro_template.json#alarm_configuration_action", "label": "Alarm Configuration – 1st Slot Action", "maxValue": 3, - "allowManualEntry": false, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "No action", @@ -353,9 +353,9 @@ "#": "154", "label": "Q Output – Time Parameter for Timed Modes", "valueSize": 2, + "unit": "0.1 seconds", "minValue": 0, "maxValue": 32000, - "unit": "0.1 seconds", "defaultValue": 5, "unsigned": true, "options": [ diff --git a/packages/config/config/devices/0x010f/fgs222.json b/packages/config/config/devices/0x010f/fgs222.json index 5ad71b654c70..2482505b577c 100644 --- a/packages/config/config/devices/0x010f/fgs222.json +++ b/packages/config/config/devices/0x010f/fgs222.json @@ -85,11 +85,11 @@ "#": "4", "label": "Relay 1: Auto-Off Delay", "valueSize": 2, + "unit": "0.1s", "minValue": 0, "maxValue": 65535, "defaultValue": 0, "unsigned": true, - "unit": "0.1s", "options": [ { "label": "Disable", @@ -101,11 +101,11 @@ "#": "5", "label": "Relay 2: Auto-Off Delay", "valueSize": 2, + "unit": "0.1s", "minValue": 0, "maxValue": 65535, "defaultValue": 0, "unsigned": true, - "unit": "0.1s", "options": [ { "label": "Disable", diff --git a/packages/config/config/devices/0x010f/fgs223.json b/packages/config/config/devices/0x010f/fgs223.json index 1e61a470af17..e2a2f26165df 100644 --- a/packages/config/config/devices/0x010f/fgs223.json +++ b/packages/config/config/devices/0x010f/fgs223.json @@ -432,15 +432,15 @@ { "#": "53", "$import": "templates/fibaro_template.json#energy_report_threshold", + "label": "First Channel - Energy Reports: Threshold", "maxValue": 32000, - "defaultValue": 100, - "label": "First Channel - Energy Reports: Threshold" + "defaultValue": 100 }, { "#": "54", "$import": "templates/fibaro_template.json#power_report_threshold_relative", - "defaultValue": 20, - "label": "Second Channel - Power Reports: Threshold" + "label": "Second Channel - Power Reports: Threshold", + "defaultValue": 20 }, { "#": "55", @@ -461,9 +461,9 @@ { "#": "57", "$import": "templates/fibaro_template.json#energy_report_threshold", + "label": "Second Channel - Energy Reports: Threshold", "maxValue": 32000, - "defaultValue": 100, - "label": "Second Channel - Energy Reports: Threshold" + "defaultValue": 100 }, { "#": "58", diff --git a/packages/config/config/devices/0x010f/fgs224.json b/packages/config/config/devices/0x010f/fgs224.json index 49237c008a48..1d4d4c6ba905 100644 --- a/packages/config/config/devices/0x010f/fgs224.json +++ b/packages/config/config/devices/0x010f/fgs224.json @@ -156,8 +156,8 @@ "$import": "templates/fibaro_template.json#alarm_configuration_action", "label": "Alarm Configuration – 1st Slot Action", "maxValue": 3, - "allowManualEntry": false, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "No action", @@ -416,9 +416,9 @@ "#": "154", "label": "Q1 Output – Time Parameter for Timed Modes", "valueSize": 2, + "unit": "0.1 seconds", "minValue": 0, "maxValue": 32000, - "unit": "0.1 seconds", "defaultValue": 5, "unsigned": true, "options": [ @@ -432,9 +432,9 @@ "#": "155", "label": "Q2 Output – Time Parameter for Timed Modes", "valueSize": 2, + "unit": "0.1 seconds", "minValue": 0, "maxValue": 32000, - "unit": "0.1 seconds", "defaultValue": 5, "unsigned": true, "options": [ diff --git a/packages/config/config/devices/0x010f/fgt001.json b/packages/config/config/devices/0x010f/fgt001.json index 6bdfe2f73b43..299e82538772 100644 --- a/packages/config/config/devices/0x010f/fgt001.json +++ b/packages/config/config/devices/0x010f/fgt001.json @@ -26,8 +26,8 @@ "#": "1", "label": "Override Schedule Duration", "description": "Duration of Override Schedule after turning knob", - "unit": "minutes", "valueSize": 4, + "unit": "minutes", "minValue": 10, "maxValue": 10000, "defaultValue": 240 @@ -36,8 +36,8 @@ "#": "2[0x01]", "$import": "~/templates/master_template.json#base_enable_disable", "label": "Open Window Detector (Normal)", - "defaultValue": 1, - "valueSize": 4 + "valueSize": 4, + "defaultValue": 1 }, { "#": "2[0x02]", diff --git a/packages/config/config/devices/0x010f/fgwdeu.json b/packages/config/config/devices/0x010f/fgwdeu.json index 2ba9eaa0f482..890a8d575567 100644 --- a/packages/config/config/devices/0x010f/fgwdeu.json +++ b/packages/config/config/devices/0x010f/fgwdeu.json @@ -27,10 +27,10 @@ "label": "Overload Threshold", "description": "Turn off the controlled device in case of exceeding threshold.", "valueSize": 4, + "unit": "0.1 W", "minValue": 0, "maxValue": 5000, "defaultValue": 3500, - "unit": "0.1 W", "options": [ { "label": "Disable", @@ -43,10 +43,10 @@ "label": "LED Indicator: Overload Threshold", "description": "Indicator flashes violet in case of exceeding threshold.", "valueSize": 4, + "unit": "0.1 W", "minValue": 100, "maxValue": 5000, - "defaultValue": 3500, - "unit": "0.1 W" + "defaultValue": 3500 }, { "#": "11", @@ -303,8 +303,8 @@ { "#": "35", "label": "Alarm Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 600, @@ -398,10 +398,10 @@ "#": "153", "label": "Fluorescent Lamp: Startup Time", "valueSize": 2, + "unit": "0.1 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 0, - "unit": "0.1 seconds" + "defaultValue": 0 }, { "#": "154", @@ -412,10 +412,10 @@ "#": "155", "label": "Automatic Control: Dimming Step Duration", "valueSize": 2, + "unit": "0.01 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 1, - "unit": "0.01 seconds" + "defaultValue": 1 }, { "#": "156", @@ -426,19 +426,19 @@ "#": "157", "label": "Manual Control: Dimming Step Duration", "valueSize": 2, + "unit": "0.01 seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 1, - "unit": "0.01 seconds" + "defaultValue": 1 }, { "#": "158", "label": "Auto-off Timer", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, - "unit": "seconds", "options": [ { "label": "Disable", @@ -500,10 +500,10 @@ "#": "162", "label": "Burnt Out Bulb and Overload Detection: Time Delay", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 255, - "defaultValue": 5, - "unit": "seconds" + "defaultValue": 5 }, { "#": "163", @@ -673,10 +673,10 @@ "#": "177", "label": "Brightness Level Correction Duration for Flickering Loads", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 255, - "unit": "seconds", "options": [ { "label": "Disable", @@ -713,10 +713,10 @@ "#": "179", "label": "Approximated Power at Maximum Brightness", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 500, - "defaultValue": 0, - "unit": "W" + "defaultValue": 0 } ] } diff --git a/packages/config/config/devices/0x010f/fgwoe-011.json b/packages/config/config/devices/0x010f/fgwoe-011.json index badfb2a55177..6ea098579913 100644 --- a/packages/config/config/devices/0x010f/fgwoe-011.json +++ b/packages/config/config/devices/0x010f/fgwoe-011.json @@ -57,8 +57,8 @@ { "#": "13", "label": "LED frame – brightness", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 102, "defaultValue": 100 @@ -106,8 +106,8 @@ { "#": "35", "label": "Alarm configuration – duration", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 32400, "defaultValue": 600 @@ -155,8 +155,8 @@ { "#": "61", "label": "Power reports – on change", - "unit": "%", "valueSize": 2, + "unit": "%", "minValue": 0, "maxValue": 500, "defaultValue": 0 diff --git a/packages/config/config/devices/0x010f/fgwpb-111.json b/packages/config/config/devices/0x010f/fgwpb-111.json index 02b520bb2f74..95d548f65b18 100644 --- a/packages/config/config/devices/0x010f/fgwpb-111.json +++ b/packages/config/config/devices/0x010f/fgwpb-111.json @@ -36,8 +36,8 @@ "#": "3", "label": "Overload safety switch", "description": "turn off the controlled device in case of exceeding the defined power.", - "unit": "0.1 Watts", "valueSize": 2, + "unit": "0.1 Watts", "minValue": 0, "maxValue": 18000, "defaultValue": 0 @@ -46,8 +46,8 @@ "#": "11", "label": "Power Reporting", "description": "Minimum change in active power consumption to trigger", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 15 @@ -55,8 +55,8 @@ { "#": "12", "label": "Energy Reporting Threshold", - "unit": "0.01 kWh", "valueSize": 2, + "unit": "0.01 kWh", "minValue": 0, "maxValue": 500, "defaultValue": 10 @@ -64,8 +64,8 @@ { "#": "13", "label": "Periodic Power Report", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 3600 @@ -73,8 +73,8 @@ { "#": "14", "label": "Periodic Energy Report", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 3600 @@ -101,8 +101,8 @@ "#": "21", "label": "UPValue", "description": "UP value -On/Off (Power) association group (3)", - "unit": "0.1W", "valueSize": 2, + "unit": "0.1W", "minValue": 100, "maxValue": 18000, "defaultValue": 500 @@ -111,8 +111,8 @@ "#": "22", "label": "DOWNvalue", "description": "lower power threshold", - "unit": "0.1w", "valueSize": 2, + "unit": "0.1w", "minValue": 0, "maxValue": 17900, "defaultValue": 300 @@ -241,8 +241,8 @@ "#": "32", "label": "AlarmDuration", "description": "duration of alarm state", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 32400, "defaultValue": 600 @@ -251,8 +251,8 @@ "#": "40", "label": "PwrLoadViolet", "description": "maximum active power value causes the LED frame to flash violet", - "unit": "0.1w", "valueSize": 2, + "unit": "0.1w", "minValue": 1000, "maxValue": 18000, "defaultValue": 18000 diff --git a/packages/config/config/devices/0x010f/fgwreu-111.json b/packages/config/config/devices/0x010f/fgwreu-111.json index f9426272be8f..567e577f5dcb 100644 --- a/packages/config/config/devices/0x010f/fgwreu-111.json +++ b/packages/config/config/devices/0x010f/fgwreu-111.json @@ -65,8 +65,8 @@ "#": "13", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "LED Indicator: Brightness", - "defaultValue": 100, - "unit": "%" + "unit": "%", + "defaultValue": 100 }, { "#": "24", @@ -153,8 +153,8 @@ }, { "#": "32[0xff000000]", - "label": "Alarm Configuration: 3rd Slot: Notification Type", "$import": "templates/fibaro_template.json#alarm_configuration_notification_type", + "label": "Alarm Configuration: 3rd Slot: Notification Type", "defaultValue": 1 }, { @@ -223,8 +223,8 @@ { "#": "35", "label": "Alarm Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32400, "defaultValue": 600, @@ -346,8 +346,8 @@ { "#": "152", "label": "Venetian Blinds: Full Turn Duration", - "unit": "0.01 seconds", "valueSize": 4, + "unit": "0.01 seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 150 @@ -377,8 +377,8 @@ "#": "154", "label": "Motor Overrun", "description": "Duration for which motor will continue to run after end switch is hit.", - "unit": "0.1 seconds", "valueSize": 2, + "unit": "0.1 seconds", "minValue": 1, "maxValue": 255, "defaultValue": 10 @@ -387,8 +387,8 @@ "#": "155", "label": "Limit Switch Power Threshold", "description": "Power threshold interpreted as reaching a limit switch.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 255, "defaultValue": 10, @@ -402,8 +402,8 @@ { "#": "156", "label": "Blind Up Duration", - "unit": "0.01 seconds", "valueSize": 4, + "unit": "0.01 seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 6000 @@ -411,8 +411,8 @@ { "#": "157", "label": "Blind Down Duration", - "unit": "0.01 seconds", "valueSize": 4, + "unit": "0.01 seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 6000 diff --git a/packages/config/config/devices/0x0115/haseman_rs-10pm2.json b/packages/config/config/devices/0x0115/haseman_rs-10pm2.json index 6a7c263efff2..5bc3c55dd6da 100644 --- a/packages/config/config/devices/0x0115/haseman_rs-10pm2.json +++ b/packages/config/config/devices/0x0115/haseman_rs-10pm2.json @@ -18,10 +18,10 @@ "#": "11", "label": "Reporting Time", "valueSize": 1, + "unit": "seconds", "minValue": 1, "maxValue": 255, "defaultValue": 30, - "unit": "seconds", "unsigned": true }, { diff --git a/packages/config/config/devices/0x0115/v3.json b/packages/config/config/devices/0x0115/v3.json index 6f8c4bb89f86..e38e1b02ed04 100644 --- a/packages/config/config/devices/0x0115/v3.json +++ b/packages/config/config/devices/0x0115/v3.json @@ -151,11 +151,11 @@ "label": "Multilevel Report Interval", "description": "Minimal time (in seconds) between Sensor Multilevel reports. See zunoSendReport(). Values less than 30 should not be used to conform to Z-Wave Plus, use them for debug only!", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 30, - "unsigned": true, - "unit": "seconds" + "unsigned": true }, { "#": "12", diff --git a/packages/config/config/devices/0x0115/zme_05459.json b/packages/config/config/devices/0x0115/zme_05459.json index a6b7713a2c52..93b22062471a 100644 --- a/packages/config/config/devices/0x0115/zme_05459.json +++ b/packages/config/config/devices/0x0115/zme_05459.json @@ -63,8 +63,8 @@ { "#": "2", "label": "Automatically open or close after", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, @@ -107,8 +107,8 @@ "#": "4", "label": "Full close time", "description": "Time in seconds to go from opened to closed state.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -124,8 +124,8 @@ "#": "5", "label": "Full open time", "description": "Time in seconds to go from closed to open state.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -217,9 +217,9 @@ "#": "10", "label": "Typical click timeout", "valueSize": 1, + "unit": "10 ms", "minValue": 0, "maxValue": 100, - "unit": "10 ms", "defaultValue": 50 }, { diff --git a/packages/config/config/devices/0x0115/zme_06433.json b/packages/config/config/devices/0x0115/zme_06433.json index 66466bc2f0fb..b3bb6f0c0a5c 100644 --- a/packages/config/config/devices/0x0115/zme_06433.json +++ b/packages/config/config/devices/0x0115/zme_06433.json @@ -110,11 +110,11 @@ ] }, { + "units": "10 ms", "#": "5", "label": "Dimming speed", "description": "Time to dim on button presses", "valueSize": 1, - "units": "10 ms", "minValue": 0, "maxValue": 255, "defaultValue": 30, diff --git a/packages/config/config/devices/0x0115/zme_06436.json b/packages/config/config/devices/0x0115/zme_06436.json index 6a04604cb4ab..670f993f693f 100644 --- a/packages/config/config/devices/0x0115/zme_06436.json +++ b/packages/config/config/devices/0x0115/zme_06436.json @@ -48,8 +48,8 @@ { "#": "2", "label": "Automatically open or close after", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, @@ -92,8 +92,8 @@ "#": "4", "label": "Full close time", "description": "Time in seconds to go from opened to closed state.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -109,8 +109,8 @@ "#": "5", "label": "Full open time", "description": "Time in seconds to go from closed to open state.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 0, "maxValue": 255, "defaultValue": 60, @@ -197,9 +197,9 @@ "#": "10", "label": "Typical click timeout", "valueSize": 1, + "unit": "10 ms", "minValue": 0, "maxValue": 100, - "unit": "10 ms", "defaultValue": 50 }, { diff --git a/packages/config/config/devices/0x0115/zme_ft.json b/packages/config/config/devices/0x0115/zme_ft.json index 6d3cb0792fed..26eff3bfef7c 100644 --- a/packages/config/config/devices/0x0115/zme_ft.json +++ b/packages/config/config/devices/0x0115/zme_ft.json @@ -23,8 +23,8 @@ { "#": "1", "label": "Boost Dry Mode Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 1800, "defaultValue": 1800 @@ -82,8 +82,8 @@ { "#": "4", "label": "Temperature Control Interval", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 1, "maxValue": 60, "defaultValue": 18 @@ -91,8 +91,8 @@ { "#": "5", "label": "Maximum Temperature Deviation", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 1, "maxValue": 60, "defaultValue": 30 @@ -100,8 +100,8 @@ { "#": "6", "label": "Maximum Temperature", - "unit": "°C", "valueSize": 1, + "unit": "°C", "minValue": 20, "maxValue": 55, "defaultValue": 27 @@ -110,8 +110,8 @@ "#": "10", "label": "Typical Click Timeout", "description": "Used to differentiate click from hold", - "unit": "10 ms", "valueSize": 1, + "unit": "10 ms", "minValue": 1, "maxValue": 100, "defaultValue": 50 diff --git a/packages/config/config/devices/0x0116/hsp02.json b/packages/config/config/devices/0x0116/hsp02.json index 49f11238e8fe..217d66a7657a 100644 --- a/packages/config/config/devices/0x0116/hsp02.json +++ b/packages/config/config/devices/0x0116/hsp02.json @@ -70,32 +70,32 @@ "#": "4", "label": "Re-trigger Interval Setting", "valueSize": 1, + "unit": "seconds", "minValue": 5, "maxValue": 255, "defaultValue": 180, - "unsigned": true, - "unit": "seconds" + "unsigned": true }, { "#": "5", "label": "Brightness Threshold", "description": "Motion sensing is active while the brightness is below this value.", "valueSize": 1, + "unit": "lux", "minValue": 1, "maxValue": 100, - "defaultValue": 10, - "unit": "lux" + "defaultValue": 10 }, { "#": "6", "label": "On time", "description": "The amount of time the module/lighting should stay ON for.", "valueSize": 1, + "unit": "seconds", "minValue": 5, "maxValue": 255, "defaultValue": 15, - "unsigned": true, - "unit": "seconds" + "unsigned": true } ] } diff --git a/packages/config/config/devices/0x0118/tz65d.json b/packages/config/config/devices/0x0118/tz65d.json index f2607bc9e0ea..55e03018fce1 100644 --- a/packages/config/config/devices/0x0118/tz65d.json +++ b/packages/config/config/devices/0x0118/tz65d.json @@ -164,11 +164,11 @@ "#": "20", "label": "Poll Group 2 Interval ", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 2, - "unsigned": true, - "unit": "minutes" + "unsigned": true }, { "#": "22", diff --git a/packages/config/config/devices/0x0118/tz66d.json b/packages/config/config/devices/0x0118/tz66d.json index c221ff7b6535..60e514c666ab 100644 --- a/packages/config/config/devices/0x0118/tz66d.json +++ b/packages/config/config/devices/0x0118/tz66d.json @@ -166,11 +166,11 @@ "#": "20", "label": "Poll Group 2 Interval", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 2, - "unsigned": true, - "unit": "minutes" + "unsigned": true }, { "#": "22", diff --git a/packages/config/config/devices/0x0118/tz69.json b/packages/config/config/devices/0x0118/tz69.json index 2c85b17faa9b..b1723e6e3a58 100644 --- a/packages/config/config/devices/0x0118/tz69.json +++ b/packages/config/config/devices/0x0118/tz69.json @@ -69,8 +69,8 @@ "#": "3", "label": "Watt Meter Report Period", "description": "5s x 720 (default) = 3600s = 1 hour", - "unit": "5 seconds", "valueSize": 2, + "unit": "5 seconds", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -79,8 +79,8 @@ "#": "4", "label": "kWH Meter Report Period", "description": "10m * 6 (default) = 60m = 1 hour", - "unit": "10 minutes", "valueSize": 2, + "unit": "10 minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 6 @@ -89,8 +89,8 @@ "#": "5", "label": "Threshold of Watt for Load Caution", "description": "Above this level, switch enters overload mode", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 10, "maxValue": 3000, "defaultValue": 3000 @@ -99,8 +99,8 @@ "#": "6", "label": "Threshold of kWH for Load Caution", "description": "Over this level, unit with go into overload mode", - "unit": "kWH", "valueSize": 2, + "unit": "kWH", "minValue": 1, "maxValue": 10000, "defaultValue": 10000 diff --git a/packages/config/config/devices/0x0118/tz75.json b/packages/config/config/devices/0x0118/tz75.json index 6ed303225888..a0e008f6f177 100644 --- a/packages/config/config/devices/0x0118/tz75.json +++ b/packages/config/config/devices/0x0118/tz75.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Watt meter report period", - "unit": "5s", "valueSize": 2, + "unit": "5s", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -26,8 +26,8 @@ { "#": "2", "label": "KWH Meter Report period", - "unit": "10min", "valueSize": 2, + "unit": "10min", "minValue": 1, "maxValue": 32767, "defaultValue": 6 @@ -35,8 +35,8 @@ { "#": "3", "label": "Threshold of watt for load caution", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 10, "maxValue": 1100, "defaultValue": 1100 @@ -44,8 +44,8 @@ { "#": "4", "label": "Threshold of KWH for load caution", - "unit": "KWH", "valueSize": 2, + "unit": "KWH", "minValue": 0, "maxValue": 10000, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0118/tz79.json b/packages/config/config/devices/0x0118/tz79.json index 8cd6cac693e2..404b6fa3d191 100644 --- a/packages/config/config/devices/0x0118/tz79.json +++ b/packages/config/config/devices/0x0118/tz79.json @@ -52,8 +52,8 @@ "#": "3", "label": "Watt Meter Report Period", "description": "5s x 720 (default) = 3600s = 1 hour", - "unit": "5s", "valueSize": 2, + "unit": "5s", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -62,8 +62,8 @@ "#": "4", "label": "kWH Meter Report Period", "description": "6x10min = 1 hour", - "unit": "10min", "valueSize": 2, + "unit": "10min", "minValue": 1, "maxValue": 32767, "defaultValue": 6 @@ -71,8 +71,8 @@ { "#": "5", "label": "Threshold of Watt for load caution", - "unit": "1Watt", "valueSize": 2, + "unit": "1Watt", "minValue": 10, "maxValue": 3000, "defaultValue": 3000 @@ -80,8 +80,8 @@ { "#": "6", "label": "Threshold of kWH for load caution", - "unit": "Kwh", "valueSize": 2, + "unit": "Kwh", "minValue": 0, "maxValue": 10000, "defaultValue": 0 diff --git a/packages/config/config/devices/0x011a/zw15sm.json b/packages/config/config/devices/0x011a/zw15sm.json index d9da92f23b6c..d2637b018096 100644 --- a/packages/config/config/devices/0x011a/zw15sm.json +++ b/packages/config/config/devices/0x011a/zw15sm.json @@ -44,8 +44,8 @@ { "#": "8", "label": "METER_REPORT Instant Energy Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -54,8 +54,8 @@ { "#": "9", "label": "Instant Energy Autosend Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -64,8 +64,8 @@ { "#": "10", "label": "Accumulated Energy Autosend Interval report", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -84,8 +84,8 @@ "#": "12", "label": "Power change notification threshold", "description": "Minimum change in wattage report", - "unit": "deciwatts", "valueSize": 1, + "unit": "deciwatts", "minValue": 0, "maxValue": 255, "defaultValue": 10, diff --git a/packages/config/config/devices/0x011a/zwn-bpc_0.0-5.9.json b/packages/config/config/devices/0x011a/zwn-bpc_0.0-5.9.json index 36b9d574cb3d..107197cb0467 100644 --- a/packages/config/config/devices/0x011a/zwn-bpc_0.0-5.9.json +++ b/packages/config/config/devices/0x011a/zwn-bpc_0.0-5.9.json @@ -24,8 +24,8 @@ { "#": "0", "label": "Motion timeout", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 1, diff --git a/packages/config/config/devices/0x0131/ne_nas_ab02z.json b/packages/config/config/devices/0x0131/ne_nas_ab02z.json index 573779d84e4e..d8d8fa25de93 100644 --- a/packages/config/config/devices/0x0131/ne_nas_ab02z.json +++ b/packages/config/config/devices/0x0131/ne_nas_ab02z.json @@ -115,8 +115,8 @@ { "#": "3", "label": "Doorbell Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 1, diff --git a/packages/config/config/devices/0x0131/psp02.json b/packages/config/config/devices/0x0131/psp02.json index b43e976cc271..b7a6585b1305 100644 --- a/packages/config/config/devices/0x0131/psp02.json +++ b/packages/config/config/devices/0x0131/psp02.json @@ -55,8 +55,8 @@ { "#": "8", "label": "PIR motion re-trigger min interval", - "unit": "8s ticks", "valueSize": 1, + "unit": "8s ticks", "minValue": 0, "maxValue": 127, "defaultValue": 3 @@ -65,8 +65,8 @@ "#": "9", "label": "Light on time hysteresis", "description": "time to keep the light on without motion", - "unit": "8s ticks", "valueSize": 1, + "unit": "8s ticks", "minValue": 0, "maxValue": 127, "defaultValue": 4 @@ -74,8 +74,8 @@ { "#": "10", "label": "Battery level auto-report interval", - "unit": "ticks", "valueSize": 1, + "unit": "ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -83,8 +83,8 @@ { "#": "11", "label": "Door state report interval", - "unit": "ticks", "valueSize": 1, + "unit": "ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -92,8 +92,8 @@ { "#": "12", "label": "Illumination auto report interval", - "unit": "ticks", "valueSize": 1, + "unit": "ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -101,8 +101,8 @@ { "#": "13", "label": "Temperature report interval", - "unit": "ticks", "valueSize": 1, + "unit": "ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -111,8 +111,8 @@ "#": "20", "label": "Tick duration", "description": "auto-reports tick duration", - "unit": "s", "valueSize": 1, + "unit": "s", "minValue": 0, "maxValue": 255, "defaultValue": 30, @@ -121,8 +121,8 @@ { "#": "21", "label": "Temperature differential to report", - "unit": "Fahrenheit", "valueSize": 1, + "unit": "Fahrenheit", "minValue": 0, "maxValue": 127, "defaultValue": 1 @@ -130,8 +130,8 @@ { "#": "22", "label": "Min illumination differential", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 0, "maxValue": 63, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0131/zip-pab01.json b/packages/config/config/devices/0x0131/zip-pab01.json index 1e2e9e93c293..a17794a87d37 100644 --- a/packages/config/config/devices/0x0131/zip-pab01.json +++ b/packages/config/config/devices/0x0131/zip-pab01.json @@ -18,8 +18,8 @@ "#": "1", "label": "Power meter report period", "description": "Power meter report period, in 5 seconds unit. 720 -> 1 hour", - "unit": "5sec", "valueSize": 2, + "unit": "5sec", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -28,8 +28,8 @@ "#": "2", "label": "Energy meter report period", "description": "The accumulated power consumption report period", - "unit": "5sec", "valueSize": 2, + "unit": "5sec", "minValue": 1, "maxValue": 32767, "defaultValue": 720 diff --git a/packages/config/config/devices/0x0138/zcombo-g.json b/packages/config/config/devices/0x0138/zcombo-g.json index 9809639c8d41..6f5989baa76f 100644 --- a/packages/config/config/devices/0x0138/zcombo-g.json +++ b/packages/config/config/devices/0x0138/zcombo-g.json @@ -26,8 +26,8 @@ "#": "1", "label": "SuperVision report timeout", "description": "ZCOMBO will send the message over SuperVision Command Class and it will wait for the SuperVision report from the Controller for the SuperVision report timeout time.", - "unit": "ms", "valueSize": 2, + "unit": "ms", "minValue": 500, "maxValue": 5000, "defaultValue": 1500, @@ -47,8 +47,8 @@ "#": "3", "label": "SuperVision wait time", "description": "Before retrying the message, ZCOMBO will wait for the SuperVision wait time. Actual wait time is calculated using the formula: Wait Time = SuperVision wait time base-value + random-value + (attempt-count x 5 seconds). The random value will be between 100 and 1100 milliseconds.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 60, "defaultValue": 5, diff --git a/packages/config/config/devices/0x013c/pad02.json b/packages/config/config/devices/0x013c/pad02.json index dd248b520da0..3deba3b9f2ed 100644 --- a/packages/config/config/devices/0x013c/pad02.json +++ b/packages/config/config/devices/0x013c/pad02.json @@ -54,8 +54,8 @@ "#": "3", "label": "Auto off timer", "description": "Automatic OFF after given time.", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x013c/pan03.json b/packages/config/config/devices/0x013c/pan03.json index 0bcf1c532d53..fed04b1bc366 100644 --- a/packages/config/config/devices/0x013c/pan03.json +++ b/packages/config/config/devices/0x013c/pan03.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Watt Meter Report Period", - "unit": "5", "valueSize": 2, + "unit": "5", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -26,8 +26,8 @@ { "#": "2", "label": "kWh Meter Report Period", - "unit": "10 minutes", "valueSize": 2, + "unit": "10 minutes", "minValue": 1, "maxValue": 32767, "defaultValue": 6 @@ -35,8 +35,8 @@ { "#": "3", "label": "Threshold of current for Load caution", - "unit": "0.01 A", "valueSize": 2, + "unit": "0.01 A", "minValue": 10, "maxValue": 1100, "defaultValue": 1100 diff --git a/packages/config/config/devices/0x013c/pan04.json b/packages/config/config/devices/0x013c/pan04.json index 91a5e0ec0d34..685291be6cfd 100644 --- a/packages/config/config/devices/0x013c/pan04.json +++ b/packages/config/config/devices/0x013c/pan04.json @@ -30,20 +30,20 @@ "#": "1", "label": "Meter Report Period (W)", "valueSize": 2, + "unit": "5 seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 720, - "unit": "5 seconds", "unsigned": true }, { "#": "2", "label": "kWh Meter Report Period (kWh)", "valueSize": 2, + "unit": "10 minutes", "minValue": 0, "maxValue": 65535, "defaultValue": 6, - "unit": "10 minutes", "unsigned": true }, { @@ -96,10 +96,10 @@ "label": "Threshold for Load Caution (A)", "description": "When this threshold is surpassed, a Meter Report will be sent.", "valueSize": 2, + "unit": "0.01 A", "minValue": 0, "maxValue": 65535, "defaultValue": 750, - "unit": "0.01 A", "unsigned": true }, { @@ -107,10 +107,10 @@ "label": "Threshold for Load Caution (kWh)", "description": "When this threshold is surpassed, a Meter Report will be sent.", "valueSize": 2, + "unit": "kWh", "minValue": 0, "maxValue": 65535, "defaultValue": 10000, - "unit": "kWh", "unsigned": true }, { @@ -139,10 +139,10 @@ "#": "8", "label": "Auto Off Timer", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, - "unit": "seconds", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x013c/pan05-1b.json b/packages/config/config/devices/0x013c/pan05-1b.json index fa28017bc5aa..ccfdeea8d19a 100644 --- a/packages/config/config/devices/0x013c/pan05-1b.json +++ b/packages/config/config/devices/0x013c/pan05-1b.json @@ -97,8 +97,8 @@ { "#": "5", "label": "Auto off timer", - "unit": "second", "valueSize": 2, + "unit": "second", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x013c/pan08-1a.json b/packages/config/config/devices/0x013c/pan08-1a.json index 6f6a8b43fc74..c9c993a28ec9 100644 --- a/packages/config/config/devices/0x013c/pan08-1a.json +++ b/packages/config/config/devices/0x013c/pan08-1a.json @@ -44,8 +44,8 @@ { "#": "4", "label": "Threshold of KWh for Load Caution", - "unit": "kWh", "valueSize": 2, + "unit": "kWh", "minValue": 1, "maxValue": 10000, "defaultValue": 10000 diff --git a/packages/config/config/devices/0x013c/pat02-a.json b/packages/config/config/devices/0x013c/pat02-a.json index e97e852e7a5e..ce38cf43690c 100644 --- a/packages/config/config/devices/0x013c/pat02-a.json +++ b/packages/config/config/devices/0x013c/pat02-a.json @@ -242,8 +242,8 @@ "#": "20", "label": "Auto Report Time Unit", "description": "Determines the time unit used by parameters 10 & 13-15 (time interval * time unit).", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 30, @@ -259,8 +259,8 @@ "#": "21", "label": "Temperature Differential Report", "description": "Determines the temperature differential that will trigger a report.", - "unit": "°F", "valueSize": 1, + "unit": "°F", "minValue": 0, "maxValue": 127, "defaultValue": 1, @@ -276,8 +276,8 @@ "#": "23", "label": "Humidity Differential Report", "description": "Determines the humidity differential that will trigger a report.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 60, "defaultValue": 1, diff --git a/packages/config/config/devices/0x013c/philio_pan07-1a.json b/packages/config/config/devices/0x013c/philio_pan07-1a.json index bae48e8b7a15..35cfa68b1d1c 100644 --- a/packages/config/config/devices/0x013c/philio_pan07-1a.json +++ b/packages/config/config/devices/0x013c/philio_pan07-1a.json @@ -98,8 +98,8 @@ { "#": "6", "label": "Threshold of KWH for Load Caution", - "unit": "KWh", "valueSize": 2, + "unit": "KWh", "minValue": 1, "maxValue": 10000, "defaultValue": 10000 diff --git a/packages/config/config/devices/0x013c/psm02.json b/packages/config/config/devices/0x013c/psm02.json index d10988bb0f73..adc8404224d4 100644 --- a/packages/config/config/devices/0x013c/psm02.json +++ b/packages/config/config/devices/0x013c/psm02.json @@ -30,10 +30,10 @@ "#": "2", "label": "Basic Set Level", "valueSize": 1, - "unsigned": true, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "3", diff --git a/packages/config/config/devices/0x013c/pst02b.json b/packages/config/config/devices/0x013c/pst02b.json index d99e6ac580f0..3094dbb433af 100644 --- a/packages/config/config/devices/0x013c/pst02b.json +++ b/packages/config/config/devices/0x013c/pst02b.json @@ -260,8 +260,8 @@ "#": "20", "label": "Auto Report Tick interval", "description": "The interval time for auto report each tick.", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 30, @@ -271,8 +271,8 @@ "#": "21", "label": "Temperature differential report.", "description": "The temperature differential to report. Not applicable to TSP01.", - "unit": "Fahrenheit", "valueSize": 1, + "unit": "Fahrenheit", "minValue": 0, "maxValue": 127, "defaultValue": 1 @@ -281,8 +281,8 @@ "#": "22", "label": "Illumination differential report.", "description": "The illumination differential to report. Not applicable to TSP01.", - "unit": "percentage", "valueSize": 1, + "unit": "percentage", "minValue": 0, "maxValue": 127, "defaultValue": 1 diff --git a/packages/config/config/devices/0x013c/zip-pab01.json b/packages/config/config/devices/0x013c/zip-pab01.json index f1c83a707ebe..70705956e7cd 100644 --- a/packages/config/config/devices/0x013c/zip-pab01.json +++ b/packages/config/config/devices/0x013c/zip-pab01.json @@ -18,8 +18,8 @@ "#": "1", "label": "Power meter report period", "description": "Power meter report period, in 5 seconds unit. 720 -> 1 hour", - "unit": "5sec", "valueSize": 2, + "unit": "5sec", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -28,8 +28,8 @@ "#": "2", "label": "Energy meter report period", "description": "The accumulated power consumption report period", - "unit": "5sec", "valueSize": 2, + "unit": "5sec", "minValue": 1, "maxValue": 32767, "defaultValue": 720 diff --git a/packages/config/config/devices/0x0140/sc428zw.json b/packages/config/config/devices/0x0140/sc428zw.json index 3babe8060f5e..447a0122b8e2 100644 --- a/packages/config/config/devices/0x0140/sc428zw.json +++ b/packages/config/config/devices/0x0140/sc428zw.json @@ -28,13 +28,13 @@ }, { "#": "3[0x01]", - "label": "Group 2", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Group 2" }, { "#": "3[0x02]", - "label": "Group 3", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Group 3" }, { "#": "5", diff --git a/packages/config/config/devices/0x0148/eur_airquality.json b/packages/config/config/devices/0x0148/eur_airquality.json index 0f670bd9a467..614a9c15ef8c 100644 --- a/packages/config/config/devices/0x0148/eur_airquality.json +++ b/packages/config/config/devices/0x0148/eur_airquality.json @@ -29,10 +29,10 @@ "#": "1", "label": "Temperature Change Reporting Threshold", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 50, "defaultValue": 5, - "unit": "0.1 °C", "unsigned": true, "options": [ { @@ -45,10 +45,10 @@ "#": "2", "label": "Humidity Change Reporting Threshold", "valueSize": 1, + "unit": "%rH", "minValue": 0, "maxValue": 10, "defaultValue": 5, - "unit": "%rH", "unsigned": true, "options": [ { @@ -123,10 +123,10 @@ "#": "6", "label": "VOC Change Reporting Threshold", "valueSize": 1, + "unit": "x100 ppb", "minValue": 0, "maxValue": 10, "defaultValue": 5, - "unit": "x100 ppb", "unsigned": true, "options": [ { @@ -139,10 +139,10 @@ "#": "7", "label": "CO2eq Change Reporting Threshold", "valueSize": 1, + "unit": "x100 ppb", "minValue": 0, "maxValue": 10, "defaultValue": 5, - "unit": "x100 ppb", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0148/spirit.json b/packages/config/config/devices/0x0148/spirit.json index 2ba3a74e396d..011f264dd3ef 100644 --- a/packages/config/config/devices/0x0148/spirit.json +++ b/packages/config/config/devices/0x0148/spirit.json @@ -42,8 +42,8 @@ { "#": "2", "label": "LCD Timeout", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 30, "defaultValue": 0, @@ -91,8 +91,8 @@ { "#": "5", "label": "Temperature Report Threshold", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 50, "defaultValue": 5 @@ -100,8 +100,8 @@ { "#": "6", "label": "Valve opening percentage report", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 0 @@ -134,8 +134,8 @@ { "#": "8", "label": "Temperature Offset", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": -128, "maxValue": 50, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0148/temp_humidity_sensor.json b/packages/config/config/devices/0x0148/temp_humidity_sensor.json index e0cf2ba520bc..edf240f8bbea 100644 --- a/packages/config/config/devices/0x0148/temp_humidity_sensor.json +++ b/packages/config/config/devices/0x0148/temp_humidity_sensor.json @@ -29,10 +29,10 @@ "#": "1", "label": "Temperature Change Reporting Threshold", "valueSize": 1, + "unit": "0.1 K", "minValue": 0, "maxValue": 50, "defaultValue": 5, - "unit": "0.1 K", "unsigned": true, "options": [ { @@ -45,10 +45,10 @@ "#": "2", "label": "Humidity Change Reporting Threshold", "valueSize": 1, + "unit": "%rH", "minValue": 0, "maxValue": 10, "defaultValue": 5, - "unit": "%rH", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0149/wds.json b/packages/config/config/devices/0x0149/wds.json index a9da14eb460e..84327e776e34 100644 --- a/packages/config/config/devices/0x0149/wds.json +++ b/packages/config/config/devices/0x0149/wds.json @@ -140,8 +140,8 @@ "#": "10", "label": "Timer to switch OFF the Channel 1", "description": "Defines the time after which the Channel 1 is switched OFF", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -150,8 +150,8 @@ "#": "11", "label": "Timer to switch OFF the Channel 2", "description": "Defines the time after which the Channel 2 is switched OFF", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -160,8 +160,8 @@ "#": "12", "label": "Timer to switch ON the Channel 1", "description": "Defines the time after which the Channel 1 is switched ON", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -170,8 +170,8 @@ "#": "13", "label": "Timer to switch ON the Channel 2", "description": "Defines the time after which the Channel 2 is switched ON", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0, diff --git a/packages/config/config/devices/0x014a/tilt-zwave5.json b/packages/config/config/devices/0x014a/tilt-zwave5.json index c8ae987751b6..e8a1de5484c5 100644 --- a/packages/config/config/devices/0x014a/tilt-zwave5.json +++ b/packages/config/config/devices/0x014a/tilt-zwave5.json @@ -36,8 +36,8 @@ { "#": "2", "label": "Delay Between Retry Attempts", - "unit": "ms", "valueSize": 2, + "unit": "ms", "minValue": 10, "maxValue": 5000, "defaultValue": 500 diff --git a/packages/config/config/devices/0x014f/gocontrol_gc-tbz48.json b/packages/config/config/devices/0x014f/gocontrol_gc-tbz48.json index 3f3d982d32a5..b5d31b17e985 100644 --- a/packages/config/config/devices/0x014f/gocontrol_gc-tbz48.json +++ b/packages/config/config/devices/0x014f/gocontrol_gc-tbz48.json @@ -144,8 +144,8 @@ { "#": "8", "label": "Minimum Off Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 9, "defaultValue": 5 @@ -153,8 +153,8 @@ { "#": "9", "label": "Minimum Run Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 3, "maxValue": 9, "defaultValue": 3 @@ -162,8 +162,8 @@ { "#": "10", "label": "Setpoint H/C Delta", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 3, "maxValue": 15, "defaultValue": 3 @@ -171,8 +171,8 @@ { "#": "11", "label": "H Delta Stage 1 ON", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 1, "maxValue": 6, "defaultValue": 1 @@ -180,8 +180,8 @@ { "#": "12", "label": "H Delta Stage 1 OFF", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 0, "maxValue": 5, "defaultValue": 0 @@ -189,8 +189,8 @@ { "#": "13", "label": "H Delta Stage 2 ON", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 2, "maxValue": 7, "defaultValue": 2 @@ -198,8 +198,8 @@ { "#": "14", "label": "H Delta Stage 2 OFF", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 0, "maxValue": 6, "defaultValue": 0 @@ -207,8 +207,8 @@ { "#": "15", "label": "H Delta Aux ON", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 3, "maxValue": 8, "defaultValue": 3 @@ -216,8 +216,8 @@ { "#": "16", "label": "H Delta Stage 3 OFF", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 0, "maxValue": 7, "defaultValue": 0 @@ -225,8 +225,8 @@ { "#": "17", "label": "C Delta Stage 1 ON", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 1, "maxValue": 6, "defaultValue": 1 @@ -234,8 +234,8 @@ { "#": "18", "label": "C Delta Stage 1 OFF", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 0, "maxValue": 5, "defaultValue": 0 @@ -243,8 +243,8 @@ { "#": "19", "label": "C Delta Stage 2 ON", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 2, "maxValue": 7, "defaultValue": 2 @@ -252,8 +252,8 @@ { "#": "20", "label": "C Delta Stage 2 OFF", - "unit": "fahrenheit", "valueSize": 1, + "unit": "fahrenheit", "minValue": 0, "maxValue": 6, "defaultValue": 0 @@ -286,8 +286,8 @@ { "#": "26", "label": "Backlight Timer", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 10, "maxValue": 30, "defaultValue": 20 @@ -411,8 +411,8 @@ { "#": "52", "label": "Filter Timer", - "unit": "hours", "valueSize": 2, + "unit": "hours", "minValue": 0, "maxValue": 4000, "defaultValue": 0 @@ -420,8 +420,8 @@ { "#": "54", "label": "Heat Timer", - "unit": "hours", "valueSize": 2, + "unit": "hours", "minValue": 0, "maxValue": 4000, "defaultValue": 0 @@ -429,8 +429,8 @@ { "#": "55", "label": "Cool Timer", - "unit": "hours", "valueSize": 2, + "unit": "hours", "minValue": 0, "maxValue": 4000, "defaultValue": 0 @@ -438,8 +438,8 @@ { "#": "61", "label": "Fan Purge Heat", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 90, "defaultValue": 0 @@ -447,8 +447,8 @@ { "#": "62", "label": "Fan Purge Cool", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 90, "defaultValue": 0 diff --git a/packages/config/config/devices/0x014f/gocontrol_smart_irrigation_controller.json b/packages/config/config/devices/0x014f/gocontrol_smart_irrigation_controller.json index 10beb2f1b3c8..a9b3fa33a23f 100644 --- a/packages/config/config/devices/0x014f/gocontrol_smart_irrigation_controller.json +++ b/packages/config/config/devices/0x014f/gocontrol_smart_irrigation_controller.json @@ -18,8 +18,8 @@ "#": "2", "label": "Master Valve Delay", "description": "Delay in seconds", - "unit": "Number", "valueSize": 2, + "unit": "Number", "minValue": 1, "maxValue": 255, "defaultValue": 1 @@ -28,8 +28,8 @@ "#": "12", "label": "Flow Sensor K value", "description": "Unique to flow sensor", - "unit": "Number", "valueSize": 4, + "unit": "Number", "minValue": 0, "maxValue": 2147483647, "defaultValue": 0 @@ -38,8 +38,8 @@ "#": "13", "label": "Flow Sensor Offset value", "description": "Unique to the flow sensor", - "unit": "Number", "valueSize": 4, + "unit": "Number", "minValue": 0, "maxValue": 2147483647, "defaultValue": 0 diff --git a/packages/config/config/devices/0x014f/wapirz-1.json b/packages/config/config/devices/0x014f/wapirz-1.json index ed64add9668b..2b437069fe39 100644 --- a/packages/config/config/devices/0x014f/wapirz-1.json +++ b/packages/config/config/devices/0x014f/wapirz-1.json @@ -24,8 +24,8 @@ { "#": "1", "label": "Re-trigger Wait Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 3, diff --git a/packages/config/config/devices/0x014f/wd500z-1.json b/packages/config/config/devices/0x014f/wd500z-1.json index f1a028f25079..ff353c82a109 100644 --- a/packages/config/config/devices/0x014f/wd500z-1.json +++ b/packages/config/config/devices/0x014f/wd500z-1.json @@ -43,15 +43,15 @@ }, { "#": "14", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Shade Control Group 2", - "description": "Allow the switch to control shade devices", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "Allow the switch to control shade devices" }, { "#": "15", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Shade Control Group 3", - "description": "Allow the switch to control shade devices", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "Allow the switch to control shade devices" }, { "#": "19", @@ -59,8 +59,8 @@ }, { "#": "29", - "label": "Load Sense", "$import": "templates/config_template.json#load_sense", + "label": "Load Sense", "defaultValue": 0 } ] diff --git a/packages/config/config/devices/0x014f/wt00z-1.json b/packages/config/config/devices/0x014f/wt00z-1.json index e0066e56df29..490dc38f3ec5 100644 --- a/packages/config/config/devices/0x014f/wt00z-1.json +++ b/packages/config/config/devices/0x014f/wt00z-1.json @@ -35,8 +35,8 @@ "paramInformation": [ { "#": "2", - "label": "Group 4: Send Reports", "$import": "~/templates/master_template.json#base_enable_disable_inverted", + "label": "Group 4: Send Reports", "defaultValue": 0 }, { @@ -78,27 +78,27 @@ }, { "#": "13", - "label": "Group 4: Send Dimming Commands", "$import": "~/templates/master_template.json#base_enable_disable_inverted", + "label": "Group 4: Send Dimming Commands", "defaultValue": 0 }, { "#": "14", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Shade Control Group 2", - "description": "Allow the switch to control shade devices", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "Allow the switch to control shade devices" }, { "#": "15", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Shade Control Group 3", - "description": "Allow the switch to control shade devices", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "Allow the switch to control shade devices" }, { "#": "16", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Shade Control Group 1", - "description": "Allow the switch to control shade devices", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "Allow the switch to control shade devices" }, { "#": "19", diff --git a/packages/config/config/devices/0x0154/004001.json b/packages/config/config/devices/0x0154/004001.json index 742347ee8d57..1cb76a9ae9c8 100644 --- a/packages/config/config/devices/0x0154/004001.json +++ b/packages/config/config/devices/0x0154/004001.json @@ -33,8 +33,8 @@ "#": "1", "label": "Siren alarm sequence interval in seconds", "description": "This parameter defines the total length of the interval in seconds.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 3, "maxValue": 129, "defaultValue": 10, @@ -44,8 +44,8 @@ "#": "2", "label": "Siren alarm tone length", "description": "Total length of the sound versus silence within this interval.", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 3, "maxValue": 129, "defaultValue": 10, diff --git a/packages/config/config/devices/0x0154/700045.json b/packages/config/config/devices/0x0154/700045.json index f879ba0058db..2dc97ef952dd 100644 --- a/packages/config/config/devices/0x0154/700045.json +++ b/packages/config/config/devices/0x0154/700045.json @@ -18,8 +18,8 @@ "#": "1", "label": "Automatic Secure Timeout", "description": "After this time a CLOSE is sent to the door lock.", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 127, "defaultValue": 0 @@ -28,8 +28,8 @@ "#": "2", "label": "Ring Button OFF Timeout", "description": "After this time the Door Bell will receive an OFF.", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 3, "maxValue": 127, "defaultValue": 3 diff --git a/packages/config/config/devices/0x0154/pope700168.json b/packages/config/config/devices/0x0154/pope700168.json index cdf8d2a62922..6dc6f4863acb 100644 --- a/packages/config/config/devices/0x0154/pope700168.json +++ b/packages/config/config/devices/0x0154/pope700168.json @@ -33,8 +33,8 @@ "#": "1", "label": "Rain Counter", "description": "total count of rain", - "unit": "mm", "valueSize": 2, + "unit": "mm", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -70,8 +70,8 @@ "#": "5", "label": "Heavy Rain", "description": "Threshold defines heavy rain condition", - "unit": "mm per hour", "valueSize": 1, + "unit": "mm per hour", "minValue": 0, "maxValue": 255, "defaultValue": 255, diff --git a/packages/config/config/devices/0x0159/smart_plug_16a.json b/packages/config/config/devices/0x0159/smart_plug_16a.json index d2895b2b37df..0f31837a82d3 100644 --- a/packages/config/config/devices/0x0159/smart_plug_16a.json +++ b/packages/config/config/devices/0x0159/smart_plug_16a.json @@ -44,10 +44,10 @@ "label": "Auto-Off Timer", "description": "When the relay is turned ON, it automatically turns OFF after the defined time", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0, - "unit": "seconds", "options": [ { "label": "Disabled", @@ -59,10 +59,10 @@ "#": "12", "label": "Auto-On Timer", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0, - "unit": "seconds", "options": [ { "label": "Disabled", @@ -95,8 +95,8 @@ { "#": "40", "label": "Power Consumption (Watt) Reporting Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 20 @@ -104,8 +104,8 @@ { "#": "42", "label": "Power Consumption (Watt) Reporting Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0159/zmnhid.json b/packages/config/config/devices/0x0159/zmnhid.json index 1f70ee30288a..7755c0f7de78 100644 --- a/packages/config/config/devices/0x0159/zmnhid.json +++ b/packages/config/config/devices/0x0159/zmnhid.json @@ -315,8 +315,8 @@ "#": "70", "label": "Input 1 status on delay", "description": "Switching reaction time on delay for I1", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -325,8 +325,8 @@ "#": "71", "label": "Input 1 status off delay", "description": "Switching reaction time off delay for I1", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -335,8 +335,8 @@ "#": "72", "label": "Input 2 status on delay", "description": "Switching reaction time on delay for I2", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -345,8 +345,8 @@ "#": "73", "label": "Input 2 status off delay", "description": "Switching reaction time off delay for I2", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -355,8 +355,8 @@ "#": "74", "label": "Input 3 status on delay", "description": "Switching reaction time on delay for I3", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -365,8 +365,8 @@ "#": "75", "label": "Input 3 status off delay", "description": "Switching reaction time off delay for I3", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0159/zmnhkd.json b/packages/config/config/devices/0x0159/zmnhkd.json index 5813d98aec57..93b6b19293c5 100644 --- a/packages/config/config/devices/0x0159/zmnhkd.json +++ b/packages/config/config/devices/0x0159/zmnhkd.json @@ -148,8 +148,8 @@ { "#": "40", "label": "Watt Power Consumption Threshold for Q⬆", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 0, @@ -163,8 +163,8 @@ { "#": "42", "label": "Watt Power Time Threshold for Q⬆", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -172,8 +172,8 @@ { "#": "43", "label": "Hysteresis heating On", - "unit": "°C", "valueSize": 2, + "unit": "°C", "defaultValue": 1010, "allowManualEntry": false, "options": [ @@ -190,8 +190,8 @@ { "#": "44", "label": "Hysteresis Heating Off", - "unit": "°C", "valueSize": 2, + "unit": "°C", "defaultValue": 2, "allowManualEntry": false, "options": [ @@ -216,8 +216,8 @@ { "#": "46", "label": "Hysteresis Cooling Off", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 1255, "defaultValue": 1002 @@ -225,8 +225,8 @@ { "#": "47", "label": "Antifreeze", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 1127, "defaultValue": 50 @@ -234,8 +234,8 @@ { "#": "60", "label": "Too low temperature limit", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 1150, "defaultValue": 50 @@ -243,8 +243,8 @@ { "#": "61", "label": "Too high temperature limit", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 1000, "defaultValue": 700 @@ -286,8 +286,8 @@ { "#": "70", "label": "Input I1 status on delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -295,8 +295,8 @@ { "#": "71", "label": "Input I1 status off delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -304,8 +304,8 @@ { "#": "72", "label": "Input I2 status on delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -313,8 +313,8 @@ { "#": "73", "label": "Input I2 status off delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -322,8 +322,8 @@ { "#": "76", "label": "group 2, 10 - reporting on time interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 127, "defaultValue": 30 @@ -331,8 +331,8 @@ { "#": "77", "label": "group 10 delay before sending Basic Set ON", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3 @@ -439,8 +439,8 @@ { "#": "110", "label": "Temperature sensor offset settings", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 32536, "defaultValue": 32536 diff --git a/packages/config/config/devices/0x0159/zmnhld.json b/packages/config/config/devices/0x0159/zmnhld.json index 23c852cda0e8..5789fa0ff9c1 100644 --- a/packages/config/config/devices/0x0159/zmnhld.json +++ b/packages/config/config/devices/0x0159/zmnhld.json @@ -203,8 +203,8 @@ { "#": "40", "label": "Power reporting in Watts on power change", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 0, @@ -234,8 +234,8 @@ { "#": "50", "label": "PWM maximum value", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 2, "maxValue": 100, "defaultValue": 100 @@ -251,8 +251,8 @@ { "#": "52", "label": "PWM cycle duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 5, "maxValue": 127, "defaultValue": 10 @@ -268,8 +268,8 @@ { "#": "54", "label": "PID deadband", - "unit": "°C", "valueSize": 1, + "unit": "°C", "minValue": 0, "maxValue": 127, "defaultValue": 5 @@ -277,8 +277,8 @@ { "#": "55", "label": "Integral sampling time", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 127, "defaultValue": 5 @@ -327,8 +327,8 @@ { "#": "60", "label": "Too low temperature limit", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 1150, "defaultValue": 50 @@ -336,8 +336,8 @@ { "#": "61", "label": "Too high temperature limit", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 1000, "defaultValue": 700 @@ -362,8 +362,8 @@ { "#": "70", "label": "Input I1 status on delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -371,8 +371,8 @@ { "#": "71", "label": "Input I1 status off delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -380,8 +380,8 @@ { "#": "72", "label": "Input I2 status on delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -389,8 +389,8 @@ { "#": "73", "label": "Input I2 status off delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -406,8 +406,8 @@ { "#": "75", "label": "Input I3 status off delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 0 @@ -415,8 +415,8 @@ { "#": "76", "label": "Reporting on time interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 127, "defaultValue": 30 @@ -424,8 +424,8 @@ { "#": "77", "label": "Group 10 - delay before sending Basic Set ON", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 180 @@ -573,8 +573,8 @@ { "#": "110", "label": "Temperature sensor offset settings", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 32536, "defaultValue": 32536 diff --git a/packages/config/config/devices/0x0159/zmnhmd.json b/packages/config/config/devices/0x0159/zmnhmd.json index 61b7e506bcd5..268a17aba897 100644 --- a/packages/config/config/devices/0x0159/zmnhmd.json +++ b/packages/config/config/devices/0x0159/zmnhmd.json @@ -73,10 +73,10 @@ "#": "48", "label": "Total Water Consumption", "valueSize": 4, + "unit": "l", "minValue": -2147483648, "maxValue": 2147483647, - "defaultValue": 0, - "unit": "l" + "defaultValue": 0 }, { "#": "50", @@ -91,19 +91,19 @@ "label": "Slow Leak: Threshold", "description": "How much water must be consumed in the timespan defined by parameter 52 to trigger slow leak alarm", "valueSize": 2, + "unit": "l", "minValue": 1, "maxValue": 1000, - "defaultValue": 1, - "unit": "l" + "defaultValue": 1 }, { "#": "52", "label": "Slow Leak: Time Interval", "valueSize": 1, + "unit": "hours", "minValue": 1, "maxValue": 24, - "defaultValue": 24, - "unit": "hours" + "defaultValue": 24 }, { "#": "60", @@ -135,10 +135,10 @@ "#": "54", "label": "Medium Leak: Time Interval", "valueSize": 1, + "unit": "hours", "minValue": 1, "maxValue": 24, - "defaultValue": 6, - "unit": "hours" + "defaultValue": 6 }, { "#": "61", @@ -170,10 +170,10 @@ "#": "56", "label": "Fast Leak: Time Interval", "valueSize": 1, + "unit": "hours", "minValue": 1, "maxValue": 24, - "defaultValue": 3, - "unit": "hours" + "defaultValue": 3 }, { "#": "62", diff --git a/packages/config/config/devices/0x0159/zmnhqd.json b/packages/config/config/devices/0x0159/zmnhqd.json index 655a66504efa..0efcb72d4006 100644 --- a/packages/config/config/devices/0x0159/zmnhqd.json +++ b/packages/config/config/devices/0x0159/zmnhqd.json @@ -61,8 +61,8 @@ "#": "5", "label": "Motion sensor memory timer", "description": "Time after which the output triggered by motion sensor is turned off.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 10 @@ -71,8 +71,8 @@ "#": "10", "label": "Auto-on timer", "description": "Defines the time after which the device is turned to last known state.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0 @@ -81,8 +81,8 @@ "#": "11", "label": "Auto-off timer", "description": "Defines the time after which the device is turned to last known state.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0159/zmnhsd.json b/packages/config/config/devices/0x0159/zmnhsd.json index 2180f7b96464..fe7ade5c3b49 100644 --- a/packages/config/config/devices/0x0159/zmnhsd.json +++ b/packages/config/config/devices/0x0159/zmnhsd.json @@ -103,8 +103,8 @@ { "#": "11", "label": "Automatic turning off output after set time", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 32536, "defaultValue": 0, @@ -118,8 +118,8 @@ { "#": "12", "label": "Automatic turning on output after set time", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 32536, "defaultValue": 0, @@ -157,8 +157,8 @@ "#": "40", "label": "Power reporting in watts on power change", "description": "Reporting the power in Watts on power change larger then the setpoint", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 5 @@ -166,8 +166,8 @@ { "#": "42", "label": "Power reporting in Watts by time interval", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 32767, "defaultValue": 300 @@ -175,8 +175,8 @@ { "#": "60", "label": "Minimum dimming value", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 98, "defaultValue": 1 @@ -184,8 +184,8 @@ { "#": "61", "label": "Maximum dimming value", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 2, "maxValue": 99, "defaultValue": 99 @@ -240,8 +240,8 @@ "#": "110", "label": "Temperature sensor offset settings", "description": "32536 = no offset; 1-100 = 0.1°C added; 1001-1100 = 0.1°C subtracted", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 32536, "defaultValue": 32536 @@ -250,8 +250,8 @@ "#": "120", "label": "Digital temperature sensor reporting", "description": "Reporting temperature when change is larger than defined by this parameter", - "unit": "°C", "valueSize": 1, + "unit": "°C", "minValue": 0, "maxValue": 127, "defaultValue": 5 diff --git a/packages/config/config/devices/0x0159/zmnhtd.json b/packages/config/config/devices/0x0159/zmnhtd.json index c7cbcd6d963f..35c17a79b3ec 100644 --- a/packages/config/config/devices/0x0159/zmnhtd.json +++ b/packages/config/config/devices/0x0159/zmnhtd.json @@ -72,8 +72,8 @@ { "#": "11", "label": "Timer turning off IR external relay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0, @@ -87,8 +87,8 @@ { "#": "12", "label": "Timer turning on IR external relay output", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0 @@ -96,8 +96,8 @@ { "#": "13", "label": "Timer turning off External relay output", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0 @@ -113,8 +113,8 @@ { "#": "40", "label": "Power reporting (Watts) on power change", - "unit": "%", "valueSize": 2, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10 @@ -123,8 +123,8 @@ "#": "42", "label": "Power (W) Reporting Internal", "description": "Allowable range: 60-32535", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 600, @@ -210,8 +210,8 @@ { "#": "111", "label": "Delay overpower off", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32525, "defaultValue": 30 diff --git a/packages/config/config/devices/0x0159/zmnhvd.json b/packages/config/config/devices/0x0159/zmnhvd.json index f38e30b9b75a..90c1659e0ab2 100644 --- a/packages/config/config/devices/0x0159/zmnhvd.json +++ b/packages/config/config/devices/0x0159/zmnhvd.json @@ -217,8 +217,8 @@ { "#": "143", "label": "Minimum sensor range value", - "unit": "2", "valueSize": 2, + "unit": "2", "minValue": 0, "maxValue": 20000, "defaultValue": 0 @@ -226,8 +226,8 @@ { "#": "144", "label": "Maximum sensor range value", - "unit": "2", "valueSize": 2, + "unit": "2", "minValue": 0, "maxValue": 20000, "defaultValue": 1000 diff --git a/packages/config/config/devices/0x0159/zmnhxd.json b/packages/config/config/devices/0x0159/zmnhxd.json index 9ad6a96f4a8c..a8975ad52949 100644 --- a/packages/config/config/devices/0x0159/zmnhxd.json +++ b/packages/config/config/devices/0x0159/zmnhxd.json @@ -49,8 +49,8 @@ "#": "40", "label": "Reporting on power change", "description": "This parameter is valid for Active Powers Total, Phase1, Phase2 and Phase3.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 50, @@ -64,8 +64,8 @@ { "#": "42", "label": "Reporting on time interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 600, @@ -81,8 +81,8 @@ "#": "43", "label": "Other Values - Reporting on time interval", "description": "Energy reports for Voltage, Current, Total Power Factor, Total Reactive Power", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 600, @@ -135,8 +135,8 @@ { "#": "106", "label": "maximum power threshold of all phases together", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 60000, "defaultValue": 0, @@ -145,8 +145,8 @@ { "#": "112", "label": "Power threshold – Delay before power on", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0159/zmnhzd.json b/packages/config/config/devices/0x0159/zmnhzd.json index fec32fd951d0..db90f713188a 100644 --- a/packages/config/config/devices/0x0159/zmnhzd.json +++ b/packages/config/config/devices/0x0159/zmnhzd.json @@ -35,8 +35,8 @@ { "#": "1", "label": "Wind Gauge - Gust Top Value", - "unit": "m/s", "valueSize": 2, + "unit": "m/s", "minValue": 0, "maxValue": 8800, "defaultValue": 1000 diff --git a/packages/config/config/devices/0x015d/nzw30t.json b/packages/config/config/devices/0x015d/nzw30t.json index dd685b2d9107..385829a0e7e5 100644 --- a/packages/config/config/devices/0x015d/nzw30t.json +++ b/packages/config/config/devices/0x015d/nzw30t.json @@ -44,8 +44,8 @@ "#": "5", "label": "Countdown", "description": "Countdown to shutoff", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x015d/nzw39.json b/packages/config/config/devices/0x015d/nzw39.json index 2ad5b14748e9..ec30a64cab25 100644 --- a/packages/config/config/devices/0x015d/nzw39.json +++ b/packages/config/config/devices/0x015d/nzw39.json @@ -80,8 +80,8 @@ "#": "5", "label": "Auto OFF", "description": "Automatically turn switch off after this number of seconds", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x015d/nzw96.json b/packages/config/config/devices/0x015d/nzw96.json index 84d2c960a5f2..09aadce67678 100644 --- a/packages/config/config/devices/0x015d/nzw96.json +++ b/packages/config/config/devices/0x015d/nzw96.json @@ -40,8 +40,8 @@ "#": "2", "label": "Countdown", "description": "Plug Auto Shutoff", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 36000, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/a8-9.json b/packages/config/config/devices/0x015f/a8-9.json index 6916955820fc..e038f57efa46 100644 --- a/packages/config/config/devices/0x015f/a8-9.json +++ b/packages/config/config/devices/0x015f/a8-9.json @@ -33,8 +33,8 @@ { "#": "1", "label": "PM2.5 Sensor: Change Report Threshold", - "unit": "µg/m³", "valueSize": 1, + "unit": "µg/m³", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -49,8 +49,8 @@ { "#": "2", "label": "CO2 Sensor: Change Report Threshold", - "unit": "5 ppm", "valueSize": 1, + "unit": "5 ppm", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -65,8 +65,8 @@ { "#": "3", "label": "Temperature Sensor: Change Report Threshold", - "unit": "0.5 °C", "valueSize": 1, + "unit": "0.5 °C", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -81,8 +81,8 @@ { "#": "4", "label": "Humidity Sensor: Change Report Threshold", - "unit": "%rF", "valueSize": 1, + "unit": "%rF", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -97,8 +97,8 @@ { "#": "5", "label": "VOC Sensor: Change Report Threshold", - "unit": "5 ppb", "valueSize": 1, + "unit": "5 ppb", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -113,8 +113,8 @@ { "#": "6", "label": "Brightness Sensor: Change Report Threshold", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 32767, "defaultValue": 0, @@ -129,8 +129,8 @@ { "#": "7", "label": "dB Sensor: Change Report Threshold", - "unit": "dB", "valueSize": 1, + "unit": "dB", "minValue": 0, "maxValue": 127, "defaultValue": 0, @@ -183,8 +183,8 @@ "#": "10", "label": "Smoke Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 60, @@ -200,8 +200,8 @@ "#": "11", "label": "PIR Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 60, @@ -217,8 +217,8 @@ "#": "12", "label": "PM2.5 Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 120, @@ -234,8 +234,8 @@ "#": "13", "label": "CO2 Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 120, @@ -251,8 +251,8 @@ "#": "14", "label": "Temperature Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 180, @@ -268,8 +268,8 @@ "#": "15", "label": "Humidity Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 180, @@ -285,8 +285,8 @@ "#": "16", "label": "VOC Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 180, @@ -302,8 +302,8 @@ "#": "17", "label": "Brightness Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 300, @@ -319,8 +319,8 @@ "#": "18", "label": "dB Sensor: Auto-Report Timer", "description": "Allowable Range: 35-32767 s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 300, @@ -354,8 +354,8 @@ "#": "50", "label": "Temperature Offset", "description": "Offset = value minus 100. Example: 91 => -0.9 °", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 255, "defaultValue": 100, @@ -365,8 +365,8 @@ "#": "51", "label": "Humidity Offset", "description": "Offset = value minus 20. Example: 33 => +13 %", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 40, "defaultValue": 20, @@ -376,8 +376,8 @@ "#": "52", "label": "CO2 Offset", "description": "Offset = value minus 500. Example: 999 => +499 ppm", - "unit": "ppm", "valueSize": 2, + "unit": "ppm", "minValue": 0, "maxValue": 1000, "defaultValue": 500, @@ -387,8 +387,8 @@ "#": "53", "label": "PM2.5 Offset", "description": "Offset = value minus 100. Example: 101 => +1 µg/m³", - "unit": "µg/m³", "valueSize": 1, + "unit": "µg/m³", "minValue": 0, "maxValue": 255, "defaultValue": 100, @@ -398,8 +398,8 @@ "#": "54", "label": "Brightness Offset", "description": "Offset = value minus 5000. Example: 49 => -4951 lux", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 10000, "defaultValue": 5000, @@ -409,8 +409,8 @@ "#": "55", "label": "VOC Offset", "description": "Offset = value minus 100. Example: 101 => +1 ppb", - "unit": "ppb", "valueSize": 1, + "unit": "ppb", "minValue": 0, "maxValue": 255, "defaultValue": 100, @@ -420,8 +420,8 @@ "#": "56", "label": "dB Offset", "description": "Offset = value minus 50. Example: 98 => +48 dB", - "unit": "dB", "valueSize": 1, + "unit": "dB", "minValue": 0, "maxValue": 100, "defaultValue": 50, diff --git a/packages/config/config/devices/0x015f/mh-3901z.json b/packages/config/config/devices/0x015f/mh-3901z.json index 304ab4980e1d..6246e4b4bd0a 100644 --- a/packages/config/config/devices/0x015f/mh-3901z.json +++ b/packages/config/config/devices/0x015f/mh-3901z.json @@ -50,8 +50,8 @@ { "#": "2", "label": "Temperature Difference Setting", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 3, "maxValue": 995, "defaultValue": 5, @@ -61,8 +61,8 @@ "#": "3", "label": "Report Interval Time", "description": "Suggested > 30 seconds.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 32767, "defaultValue": 60, @@ -87,8 +87,8 @@ { "#": "7", "label": "Heating Cycle Duration", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 120, "defaultValue": 20, @@ -98,8 +98,8 @@ "#": "8", "label": "Heating Time within Heating Cycle", "description": "Must be less than Heating Cycle Duration (parameter 7)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 120, "defaultValue": 20, diff --git a/packages/config/config/devices/0x015f/mh-c221.json b/packages/config/config/devices/0x015f/mh-c221.json index 05cac9298738..e6fa2ce91004 100644 --- a/packages/config/config/devices/0x015f/mh-c221.json +++ b/packages/config/config/devices/0x015f/mh-c221.json @@ -29,8 +29,8 @@ { "#": "1", "label": "Watt Meter Report Period", - "unit": "5 seconds", "valueSize": 2, + "unit": "5 seconds", "minValue": 1, "maxValue": 32767, "defaultValue": 720, diff --git a/packages/config/config/devices/0x015f/mh-c421.json b/packages/config/config/devices/0x015f/mh-c421.json index 0fcb059b745c..e9dee8d3a781 100644 --- a/packages/config/config/devices/0x015f/mh-c421.json +++ b/packages/config/config/devices/0x015f/mh-c421.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Watt Meter Report Period", - "unit": "5 seconds", "valueSize": 2, + "unit": "5 seconds", "minValue": 1, "maxValue": 32767, "defaultValue": 720, @@ -27,8 +27,8 @@ { "#": "2", "label": "kWh Meter Report Period", - "unit": "10 minutes", "valueSize": 2, + "unit": "10 minutes", "minValue": 1, "maxValue": 32767, "defaultValue": 6, diff --git a/packages/config/config/devices/0x015f/mh-ds221.json b/packages/config/config/devices/0x015f/mh-ds221.json index 0737edc486b0..bbdbf809e8c2 100644 --- a/packages/config/config/devices/0x015f/mh-ds221.json +++ b/packages/config/config/devices/0x015f/mh-ds221.json @@ -59,15 +59,15 @@ }, { "#": "4", - "label": "Manual Operation During Auto Turn-Off", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Manual Operation During Auto Turn-Off", "defaultValue": 1 }, { "#": "5", "label": "Auto Turn-Off Timer", - "unit": "100ms", "valueSize": 2, + "unit": "100ms", "minValue": 0, "maxValue": 32767, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-dt311_411.json b/packages/config/config/devices/0x015f/mh-dt311_411.json index fd90500c3b26..3dfda0a17087 100644 --- a/packages/config/config/devices/0x015f/mh-dt311_411.json +++ b/packages/config/config/devices/0x015f/mh-dt311_411.json @@ -157,8 +157,8 @@ { "#": "11", "label": "Dimming Amount Per Tap", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 99, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s212.json b/packages/config/config/devices/0x015f/mh-s212.json index 060d90551328..969640b1ce34 100644 --- a/packages/config/config/devices/0x015f/mh-s212.json +++ b/packages/config/config/devices/0x015f/mh-s212.json @@ -104,8 +104,8 @@ { "#": "6", "label": "Switch 1 - Off Timer Interval", - "unit": "100ms", "valueSize": 2, + "unit": "100ms", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x015f/mh-s220_0.0-3.1.json b/packages/config/config/devices/0x015f/mh-s220_0.0-3.1.json index f7bdf93f25af..fd56359b8ccb 100644 --- a/packages/config/config/devices/0x015f/mh-s220_0.0-3.1.json +++ b/packages/config/config/devices/0x015f/mh-s220_0.0-3.1.json @@ -94,15 +94,15 @@ }, { "#": "5", - "label": "Switch 1: Off Timer", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Switch 1: Off Timer", "defaultValue": 1 }, { "#": "6", "label": "Switch 1: Off Timer Interval", - "unit": "100ms", "valueSize": 2, + "unit": "100ms", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s220_3.2.json b/packages/config/config/devices/0x015f/mh-s220_3.2.json index 3187ea1f35cc..d2efac4a6f28 100644 --- a/packages/config/config/devices/0x015f/mh-s220_3.2.json +++ b/packages/config/config/devices/0x015f/mh-s220_3.2.json @@ -75,10 +75,10 @@ "#": "5", "label": "Auto-Off Timer", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, - "unit": "seconds", "unsigned": true, "options": [ { @@ -99,8 +99,8 @@ "label": "All On / All Off", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Do not allow all-on and all-off", @@ -125,8 +125,8 @@ "label": "Switch 1: Report to Association Group 2", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Report both on/off", @@ -152,8 +152,8 @@ "description": "Scene Activation will be sent to the controller, Basic Set to group 3.", "valueSize": 1, "defaultValue": 1, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Scene Activation and Basic Set", @@ -178,8 +178,8 @@ "label": "Switch 2: Report to Association Group 3", "valueSize": 1, "defaultValue": 1, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Report both on/off", diff --git a/packages/config/config/devices/0x015f/mh-s311h.json b/packages/config/config/devices/0x015f/mh-s311h.json index abf8e071789b..b5fdd92965b2 100644 --- a/packages/config/config/devices/0x015f/mh-s311h.json +++ b/packages/config/config/devices/0x015f/mh-s311h.json @@ -54,8 +54,8 @@ "#": "6", "label": "Key On duration", "description": "0=infinite 1~65535=unit \"sec\"", - "unit": "2", "valueSize": 2, + "unit": "2", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s314-1502.json b/packages/config/config/devices/0x015f/mh-s314-1502.json index 9ca50d8d0978..be910bff506a 100644 --- a/packages/config/config/devices/0x015f/mh-s314-1502.json +++ b/packages/config/config/devices/0x015f/mh-s314-1502.json @@ -119,8 +119,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s314.json b/packages/config/config/devices/0x015f/mh-s314.json index 56d38a1095b5..68382e68e653 100644 --- a/packages/config/config/devices/0x015f/mh-s314.json +++ b/packages/config/config/devices/0x015f/mh-s314.json @@ -114,8 +114,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s411-5102.json b/packages/config/config/devices/0x015f/mh-s411-5102.json index 9bfe80c1cea5..aec7c15e6710 100644 --- a/packages/config/config/devices/0x015f/mh-s411-5102.json +++ b/packages/config/config/devices/0x015f/mh-s411-5102.json @@ -98,8 +98,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s411-7102.json b/packages/config/config/devices/0x015f/mh-s411-7102.json index 7e4b621a39e2..544c82d139bb 100644 --- a/packages/config/config/devices/0x015f/mh-s411-7102.json +++ b/packages/config/config/devices/0x015f/mh-s411-7102.json @@ -98,8 +98,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s412-5102.json b/packages/config/config/devices/0x015f/mh-s412-5102.json index 23ac62438360..c7f7dd888c2d 100644 --- a/packages/config/config/devices/0x015f/mh-s412-5102.json +++ b/packages/config/config/devices/0x015f/mh-s412-5102.json @@ -102,8 +102,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s412-7102.json b/packages/config/config/devices/0x015f/mh-s412-7102.json index a28b7b326b8f..2bbc8ab69d06 100644 --- a/packages/config/config/devices/0x015f/mh-s412-7102.json +++ b/packages/config/config/devices/0x015f/mh-s412-7102.json @@ -102,8 +102,8 @@ "#": "6", "label": "Relay On Duration", "description": "0 for infinite", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s511.json b/packages/config/config/devices/0x015f/mh-s511.json index b9513741c134..19f149caf95a 100644 --- a/packages/config/config/devices/0x015f/mh-s511.json +++ b/packages/config/config/devices/0x015f/mh-s511.json @@ -92,8 +92,8 @@ { "#": "6", "label": "Key On Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s512.json b/packages/config/config/devices/0x015f/mh-s512.json index 6e375d3b3762..b6104086913d 100644 --- a/packages/config/config/devices/0x015f/mh-s512.json +++ b/packages/config/config/devices/0x015f/mh-s512.json @@ -375,8 +375,8 @@ { "#": "22", "label": "Key 2 Activate Scene Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s513.json b/packages/config/config/devices/0x015f/mh-s513.json index c8ffc887467f..36492b97f692 100644 --- a/packages/config/config/devices/0x015f/mh-s513.json +++ b/packages/config/config/devices/0x015f/mh-s513.json @@ -357,8 +357,8 @@ { "#": "19", "label": "Key 1 Activate Scene Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 0, @@ -413,8 +413,8 @@ { "#": "22", "label": "Key 2 Activate Scene Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh-s521.json b/packages/config/config/devices/0x015f/mh-s521.json index ed7e9cf53dad..cc2f58d05986 100644 --- a/packages/config/config/devices/0x015f/mh-s521.json +++ b/packages/config/config/devices/0x015f/mh-s521.json @@ -88,8 +88,8 @@ { "#": "6", "label": "Key On duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh10-pm2_5-wa_wd.json b/packages/config/config/devices/0x015f/mh10-pm2_5-wa_wd.json index 3949278e42bf..8d750f56c4a5 100644 --- a/packages/config/config/devices/0x015f/mh10-pm2_5-wa_wd.json +++ b/packages/config/config/devices/0x015f/mh10-pm2_5-wa_wd.json @@ -22,8 +22,8 @@ "#": "2", "label": "PM2.5 report interval", "description": "=0 report disabled, ≥10 report when change ≥n*0.1μg/m³", - "unit": "0.1μg/m³", "valueSize": 1, + "unit": "0.1μg/m³", "minValue": 0, "maxValue": 255, "defaultValue": 10, @@ -43,8 +43,8 @@ "#": "3", "label": "Temperature Report Interval", "description": "=0 report disabled, ≥10 report when change ≥n*0.1μg/m³", - "unit": "0.5°C", "valueSize": 1, + "unit": "0.5°C", "minValue": 0, "maxValue": 255, "defaultValue": 1, @@ -64,8 +64,8 @@ "#": "4", "label": "Humidity Report Interval", "description": "=0 report disabled, ≥10 report when change ≥n*0.1μg/m³", - "unit": "2%", "valueSize": 1, + "unit": "2%", "minValue": 0, "maxValue": 255, "defaultValue": 0, diff --git a/packages/config/config/devices/0x015f/mh5-2a.json b/packages/config/config/devices/0x015f/mh5-2a.json index b96eaeef6ce9..000c871a51b5 100644 --- a/packages/config/config/devices/0x015f/mh5-2a.json +++ b/packages/config/config/devices/0x015f/mh5-2a.json @@ -44,9 +44,9 @@ "label": "Temperature Reporting Threshold", "description": "Valid range: 3-255; Variation in temperature to induce automatic report", "valueSize": 2, + "unit": "0.1 °F/C", "minValue": 0, "maxValue": 255, - "unit": "0.1 °F/C", "defaultValue": 5, "unsigned": true, "options": [ diff --git a/packages/config/config/devices/0x0165/msp-3-1-x1.json b/packages/config/config/devices/0x0165/msp-3-1-x1.json index ddc7268c1b27..9348649718b9 100644 --- a/packages/config/config/devices/0x0165/msp-3-1-x1.json +++ b/packages/config/config/devices/0x0165/msp-3-1-x1.json @@ -84,8 +84,8 @@ "#": "21", "label": "Power Auto-Sending Report", "description": "Power report for changes of x % W", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10, @@ -140,8 +140,8 @@ "#": "22", "label": "Overload Report", "description": "Switch off Micro Smart Plug in case the power is above x W", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 2000, "defaultValue": 2000, @@ -192,8 +192,8 @@ "#": "23", "label": "Energy Auto-Sending Report", "description": "Auto energy report if value changes of x Wh", - "unit": "Wh", "valueSize": 2, + "unit": "Wh", "minValue": 0, "maxValue": 65535, "defaultValue": 1000, @@ -257,8 +257,8 @@ "#": "24", "label": "Metering Heartbeat", "description": "Reporting interval for power and energy to lifeline.", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 65535, "defaultValue": 3600, @@ -286,8 +286,8 @@ "#": "25", "label": "Power High Threshold", "description": "Defines the High Threshold value in W.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 20, @@ -355,8 +355,8 @@ "#": "26", "label": "Power Low Threshold", "description": "Defines the Low Threshold value in W.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 5, diff --git a/packages/config/config/devices/0x016a/ft096.json b/packages/config/config/devices/0x016a/ft096.json index b13d2b63afa7..e32b014c78de 100644 --- a/packages/config/config/devices/0x016a/ft096.json +++ b/packages/config/config/devices/0x016a/ft096.json @@ -133,8 +133,8 @@ "#": "91", "label": "Wattage Threshold", "description": "minimum change in wattage to trigger", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 60000, "defaultValue": 25, @@ -144,8 +144,8 @@ "#": "92", "label": "Wattage Percent Change", "description": "minimum change in wattage percent", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 5 @@ -292,8 +292,8 @@ "#": "111", "label": "Time interval for sending to group 1", "description": "Group 1 automatic update interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 1, "maxValue": 2147483647, "defaultValue": 3 @@ -302,8 +302,8 @@ "#": "112", "label": "Time interval for sending to group 2", "description": "Group 2 automatic update interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 1, "maxValue": 2147483647, "defaultValue": 600 @@ -376,8 +376,8 @@ { "#": "84[0xff]", "label": "Green brightness in energy mode (%)", - "unit": "percent", "valueSize": 3, + "unit": "percent", "minValue": 0, "maxValue": 100, "defaultValue": 50, @@ -386,8 +386,8 @@ { "#": "84[0xff00]", "label": "Yellow brightness in energy mode (%)", - "unit": "percent", "valueSize": 3, + "unit": "percent", "minValue": 0, "maxValue": 100, "defaultValue": 50, @@ -396,8 +396,8 @@ { "#": "84[0xff0000]", "label": "Red brightness in energy mode (%)", - "unit": "percent", "valueSize": 3, + "unit": "percent", "minValue": 0, "maxValue": 100, "defaultValue": 50, diff --git a/packages/config/config/devices/0x016a/ft100.json b/packages/config/config/devices/0x016a/ft100.json index 605b5b09d03e..0e5ea1ff76eb 100644 --- a/packages/config/config/devices/0x016a/ft100.json +++ b/packages/config/config/devices/0x016a/ft100.json @@ -113,8 +113,8 @@ "#": "41[0xffff00]", "$if": "firmwareVersion > 1.6 && firmwareVersion <= 1.9", "label": "Temperature Change Threshold", - "unit": "0.1 °C/°F", "valueSize": 3, + "unit": "0.1 °C/°F", "minValue": 10, "maxValue": 2120, "defaultValue": 20 @@ -123,8 +123,8 @@ "#": "41[0xffff00]", "$if": "firmwareVersion >= 1.10", "label": "Temperature Change Threshold", - "unit": "0.1 °C/°F", "valueSize": 4, + "unit": "0.1 °C/°F", "minValue": 10, "maxValue": 2120, "defaultValue": 20 diff --git a/packages/config/config/devices/0x016a/ft116.json b/packages/config/config/devices/0x016a/ft116.json index a77262d6492a..01d4680ef262 100644 --- a/packages/config/config/devices/0x016a/ft116.json +++ b/packages/config/config/devices/0x016a/ft116.json @@ -51,8 +51,8 @@ { "#": "9", "label": "Instant Energy Autosend Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0175/mt02646.json b/packages/config/config/devices/0x0175/mt02646.json index 82915863687f..acbebc48d61b 100644 --- a/packages/config/config/devices/0x0175/mt02646.json +++ b/packages/config/config/devices/0x0175/mt02646.json @@ -19,8 +19,8 @@ "#": "1", "label": "Watt Meter Report Period", "description": "multiples of 5s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 720, @@ -35,8 +35,8 @@ "#": "2", "label": "KWH Meter Report Period", "description": "number of 10 minute intervals", - "unit": "10m", "valueSize": 2, + "unit": "10m", "minValue": 0, "maxValue": 32767, "defaultValue": 6, diff --git a/packages/config/config/devices/0x0175/mt02755.json b/packages/config/config/devices/0x0175/mt02755.json index 44de4047c37b..b629795496ed 100644 --- a/packages/config/config/devices/0x0175/mt02755.json +++ b/packages/config/config/devices/0x0175/mt02755.json @@ -55,8 +55,8 @@ "#": "10", "label": "Auto Report Battery Time", "description": "The interval time for auto report the battery level.", - "unit": "Ticks", "valueSize": 1, + "unit": "Ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -65,8 +65,8 @@ "#": "13", "label": "Auto Report Temperature Time", "description": "The interval time for auto report the temperature.", - "unit": "Ticks", "valueSize": 1, + "unit": "Ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -75,8 +75,8 @@ "#": "14", "label": "Auto Report Humidity Time", "description": "The interval time for auto report the humidity", - "unit": "Ticks", "valueSize": 1, + "unit": "Ticks", "minValue": 0, "maxValue": 127, "defaultValue": 12 @@ -85,8 +85,8 @@ "#": "20", "label": "Auto Report Tick Interval", "description": "The interval time for auto report each tick", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 0, "maxValue": 255, "defaultValue": 30, @@ -95,8 +95,8 @@ { "#": "21", "label": "Temperature Differential Report", - "unit": "Fahrenheit", "valueSize": 1, + "unit": "Fahrenheit", "minValue": 0, "maxValue": 127, "defaultValue": 1 @@ -104,8 +104,8 @@ { "#": "23", "label": "Humidity Differential Report", - "unit": "Percent", "valueSize": 1, + "unit": "Percent", "minValue": 0, "maxValue": 60, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0175/mt02792.json b/packages/config/config/devices/0x0175/mt02792.json index 8fa92089db92..6b0987b5e83b 100644 --- a/packages/config/config/devices/0x0175/mt02792.json +++ b/packages/config/config/devices/0x0175/mt02792.json @@ -18,8 +18,8 @@ "#": "1", "label": "Watt counter reporting period", "description": "multiples of 5s", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 720, @@ -34,8 +34,8 @@ "#": "2", "label": "KWh counter reporting period", "description": "number of 10 minute intervals", - "unit": "10m", "valueSize": 2, + "unit": "10m", "minValue": 0, "maxValue": 32767, "defaultValue": 6, @@ -50,8 +50,8 @@ "#": "3", "label": "Definition of warning of current load (A)", "description": "1300*0.01A = 13A", - "unit": "0.01A", "valueSize": 2, + "unit": "0.01A", "minValue": 10, "maxValue": 1300, "defaultValue": 1300 @@ -130,8 +130,8 @@ "#": "8", "label": "Auto off timer", "description": "Auto off timer. 0 will disable the auto off function.", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0175/mt2761.json b/packages/config/config/devices/0x0175/mt2761.json index 0157f305da7e..0677f6ca7bc7 100644 --- a/packages/config/config/devices/0x0175/mt2761.json +++ b/packages/config/config/devices/0x0175/mt2761.json @@ -97,8 +97,8 @@ { "#": "42", "label": "Power reporting in Watts by time interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 300 @@ -126,8 +126,8 @@ "#": "72", "label": "Slats tilting full turn time", "description": "Slat full turn time in tenths of a second.", - "unit": "tenths of a second", "valueSize": 2, + "unit": "tenths of a second", "minValue": 0, "maxValue": 32767, "defaultValue": 150 @@ -227,8 +227,8 @@ "#": "90", "label": "Relay delay time", "description": "Defines the minimum time delay between next motor movement", - "unit": "milliseconds", "valueSize": 1, + "unit": "milliseconds", "minValue": 1, "maxValue": 30, "defaultValue": 5 diff --git a/packages/config/config/devices/0x0175/pan11.json b/packages/config/config/devices/0x0175/pan11.json index 31753e3745a7..7632b3c22e86 100644 --- a/packages/config/config/devices/0x0175/pan11.json +++ b/packages/config/config/devices/0x0175/pan11.json @@ -49,8 +49,8 @@ { "#": "4", "label": "Threshold of KWH for Load caution", - "unit": "KWh", "valueSize": 2, + "unit": "KWh", "minValue": 1, "maxValue": 10000, "defaultValue": 10000 @@ -117,8 +117,8 @@ { "#": "8", "label": "Auto off timer", - "unit": "s", "valueSize": 2, + "unit": "s", "minValue": 0, "maxValue": 32767, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0175/ph-pse02.json b/packages/config/config/devices/0x0175/ph-pse02.json index 34fabaf218c7..afab2ca54f39 100644 --- a/packages/config/config/devices/0x0175/ph-pse02.json +++ b/packages/config/config/devices/0x0175/ph-pse02.json @@ -64,8 +64,8 @@ { "#": "31", "label": "Alarm Duration", - "unit": "30 seconds", "valueSize": 1, + "unit": "30 seconds", "minValue": 0, "maxValue": 127, "defaultValue": 6, diff --git a/packages/config/config/devices/0x0178/ZSENS930.json b/packages/config/config/devices/0x0178/ZSENS930.json index e7f31be11f49..6373c5631cb8 100644 --- a/packages/config/config/devices/0x0178/ZSENS930.json +++ b/packages/config/config/devices/0x0178/ZSENS930.json @@ -34,8 +34,8 @@ { "#": "8", "label": "Temperature Delta Report Threshold (Group 1)", - "unit": "0.1°", "valueSize": 1, + "unit": "0.1°", "minValue": 1, "maxValue": 200, "defaultValue": 10, @@ -44,8 +44,8 @@ { "#": "9", "label": "Periodic Temperature Report Interval (Group 1)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 0, @@ -70,8 +70,8 @@ { "#": "11", "label": "Periodic Temperature Report Interval (Group 2)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0178/th100nx.json b/packages/config/config/devices/0x0178/th100nx.json index 1c2c0bd435d9..2773f7bf16b3 100644 --- a/packages/config/config/devices/0x0178/th100nx.json +++ b/packages/config/config/devices/0x0178/th100nx.json @@ -128,8 +128,8 @@ { "#": "8", "label": "Temperature Delta Report Threshold (Group 1)", - "unit": "0.1°", "valueSize": 1, + "unit": "0.1°", "minValue": 1, "maxValue": 200, "defaultValue": 10, @@ -138,8 +138,8 @@ { "#": "9", "label": "Periodic Temperature Report Interval (Group 1)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 0, @@ -164,8 +164,8 @@ { "#": "11", "label": "Periodic Temperature Report Interval (Group 2)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0179/ch-103.json b/packages/config/config/devices/0x0179/ch-103.json index 5d4c0c672775..0a1e7d56bfa7 100644 --- a/packages/config/config/devices/0x0179/ch-103.json +++ b/packages/config/config/devices/0x0179/ch-103.json @@ -73,8 +73,8 @@ "#": "3", "label": "Rotation Time", "description": "Time of full rotation of lamellas or 180° in the blind mode", - "unit": "0.1 s", "valueSize": 2, + "unit": "0.1 s", "minValue": 0, "maxValue": 1000, "defaultValue": 0 @@ -82,8 +82,8 @@ { "#": "4", "label": "Open Operating Time", - "unit": "0.1 s", "valueSize": 2, + "unit": "0.1 s", "minValue": 0, "maxValue": 1000, "defaultValue": 0 @@ -91,8 +91,8 @@ { "#": "5", "label": "Close Operating Time", - "unit": "0.1 s", "valueSize": 2, + "unit": "0.1 s", "minValue": 0, "maxValue": 1000, "defaultValue": 0 @@ -100,8 +100,8 @@ { "#": "6", "label": "Open Delay", - "unit": "0.1 s", "valueSize": 2, + "unit": "0.1 s", "minValue": 0, "maxValue": 1000, "defaultValue": 0 @@ -109,8 +109,8 @@ { "#": "7", "label": "Close Delay", - "unit": "0.1 s", "valueSize": 2, + "unit": "0.1 s", "minValue": 0, "maxValue": 1000, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0179/ch-201.json b/packages/config/config/devices/0x0179/ch-201.json index 14e64aea47cf..7ac24aea6138 100644 --- a/packages/config/config/devices/0x0179/ch-201.json +++ b/packages/config/config/devices/0x0179/ch-201.json @@ -41,8 +41,8 @@ { "#": "2", "label": "Temperature threshold", - "unit": "Δ°С", "valueSize": 1, + "unit": "Δ°С", "minValue": 1, "maxValue": 7, "defaultValue": 1 @@ -90,8 +90,8 @@ "#": "5", "label": "Max waiting time from temp sensor", "description": "Max time of data expectation from room temperature sensor", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 100, "maxValue": 30000, "defaultValue": 30000 @@ -99,8 +99,8 @@ { "#": "6", "label": "Minimum allowable temperature", - "unit": "°С", "valueSize": 2, + "unit": "°С", "minValue": -127, "maxValue": 127, "defaultValue": 4 @@ -108,8 +108,8 @@ { "#": "7", "label": "Maximum alowable temperature", - "unit": "°С", "valueSize": 2, + "unit": "°С", "minValue": -127, "maxValue": 127, "defaultValue": 30 @@ -117,8 +117,8 @@ { "#": "8", "label": "Time turbo mode", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 100, "maxValue": 1200, "defaultValue": 120 @@ -126,8 +126,8 @@ { "#": "9", "label": "Power on turbo mode", - "unit": "sec", "valueSize": 1, + "unit": "sec", "minValue": 0, "maxValue": 1, "defaultValue": 0 @@ -156,8 +156,8 @@ { "#": "11", "label": "Polling period of the room sensor", - "unit": "sec", "valueSize": 2, + "unit": "sec", "minValue": 15, "maxValue": 600, "defaultValue": 300 @@ -166,8 +166,8 @@ "#": "12", "label": "Temperature threshold to send data", "description": "The value that temperature should be changed to send data", - "unit": "Δ°С", "valueSize": 1, + "unit": "Δ°С", "minValue": 1, "maxValue": 16, "defaultValue": 1 diff --git a/packages/config/config/devices/0x017c/heatapp_floor.json b/packages/config/config/devices/0x017c/heatapp_floor.json index b52548dc28ac..d796bee55146 100644 --- a/packages/config/config/devices/0x017c/heatapp_floor.json +++ b/packages/config/config/devices/0x017c/heatapp_floor.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Missing Radio Link Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 240, "defaultValue": 30, diff --git a/packages/config/config/devices/0x0190/adc-s2000-t-ra.json b/packages/config/config/devices/0x0190/adc-s2000-t-ra.json index 52d01b670d59..7c63222aae7e 100644 --- a/packages/config/config/devices/0x0190/adc-s2000-t-ra.json +++ b/packages/config/config/devices/0x0190/adc-s2000-t-ra.json @@ -18,8 +18,8 @@ "#": "1", "label": "Wake Up Period", "description": "Seconds to stay awake following button press", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 10, "maxValue": 32767, "defaultValue": 32768 @@ -85,8 +85,8 @@ { "#": "9", "label": "Mandatory Temperature Reporting Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 60, "maxValue": 64800, "defaultValue": 64800, diff --git a/packages/config/config/devices/0x0190/adc-swm150.json b/packages/config/config/devices/0x0190/adc-swm150.json index f3bc1ee6454d..277d7d5b1f1a 100644 --- a/packages/config/config/devices/0x0190/adc-swm150.json +++ b/packages/config/config/devices/0x0190/adc-swm150.json @@ -124,9 +124,9 @@ "#": "19", "label": "Calibration", "valueSize": 4, + "defaultValue": 1379350, // Not sure "unsigned": true, "allowManualEntry": false, - "defaultValue": 1379350, // Not sure "options": [ { "label": "Uncalibrated / Calibrate Meter", diff --git a/packages/config/config/devices/0x0190/adc-t_2000.json b/packages/config/config/devices/0x0190/adc-t_2000.json index edf928110bba..838167d4c386 100644 --- a/packages/config/config/devices/0x0190/adc-t_2000.json +++ b/packages/config/config/devices/0x0190/adc-t_2000.json @@ -69,8 +69,8 @@ "#": "5[0xffff00]", "label": "Calibration Temperature", "description": "Allowable range: -10 to 10 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -100, "maxValue": 100, "defaultValue": 0, @@ -116,8 +116,8 @@ "#": "6[0xffff00]", "label": "Overshoot", "description": "Allowable range: 0 to 3 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 30, "defaultValue": 5, @@ -163,8 +163,8 @@ "#": "7[0xffff00]", "label": "Swing", "description": "Allowable range: 0 to 3 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 30, "defaultValue": 0, @@ -228,8 +228,8 @@ "#": "10[0xffff00]", "label": "Balance Setpoint", "description": "Allowable range: 0 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 350, @@ -302,8 +302,8 @@ { "#": "13", "label": "Fan Circulation Duty Cycle", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 25 @@ -311,8 +311,8 @@ { "#": "14", "label": "Fan Purge Time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 3600, "defaultValue": 60 @@ -321,8 +321,8 @@ "#": "15[0xffff00]", "label": "Maximum Heat Setpoint", "description": "Allowable range: 35 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 950, @@ -368,8 +368,8 @@ "#": "16[0xffff00]", "label": "Minimum Heat Setpoint", "description": "Allowable range: 35 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 350, @@ -415,8 +415,8 @@ "#": "17[0xffff00]", "label": "Maximum Cool Setpoint", "description": "Allowable range: 50 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 950, @@ -462,8 +462,8 @@ "#": "18[0xffff00]", "label": "Minimum Cool Setpoint", "description": "Allowable range: 50 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 500, @@ -641,8 +641,8 @@ { "#": "27", "label": "Battery Alert Threshold Low", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 30 @@ -650,8 +650,8 @@ { "#": "28", "label": "Battery Alert Threshold Very Low", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 15 @@ -666,8 +666,8 @@ "#": "31[0xffff00]", "label": "Heat Differential", "description": "Allowable range: 1 to 10 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 100, "defaultValue": 30, @@ -713,8 +713,8 @@ "#": "32[0xffff00]", "label": "Cool Differential", "description": "Allowable range: 1 to 10 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 100, "defaultValue": 30, @@ -760,8 +760,8 @@ "#": "33[0xffff00]", "label": "Temperature Reporting Threshold", "description": "Allowable range: 0.5 to 2 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 20, "defaultValue": 10, diff --git a/packages/config/config/devices/0x0190/adc-t_3000.json b/packages/config/config/devices/0x0190/adc-t_3000.json index 24e26337fb70..fe6690fcd82d 100644 --- a/packages/config/config/devices/0x0190/adc-t_3000.json +++ b/packages/config/config/devices/0x0190/adc-t_3000.json @@ -69,8 +69,8 @@ "#": "5[0xffff00]", "label": "Calibration Temperature", "description": "Allowable range: -10 to 10 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -100, "maxValue": 100, "defaultValue": 0, @@ -116,8 +116,8 @@ "#": "6[0xffff00]", "label": "Swing", "description": "Allowable range: 0 to 3 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 30, "defaultValue": 5, @@ -163,8 +163,8 @@ "#": "7[0xffff00]", "label": "Overshoot", "description": "Allowable range: 0 to 3 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 30, "defaultValue": 0, @@ -228,8 +228,8 @@ "#": "10[0xffff00]", "label": "Balance Setpoint", "description": "Allowable range: 0 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 300, @@ -284,8 +284,8 @@ { "#": "13", "label": "Fan Circulation Duty Cycle", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 25 @@ -293,8 +293,8 @@ { "#": "14", "label": "Fan Purge Time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 3600, "defaultValue": 60 @@ -303,8 +303,8 @@ "#": "15[0xffff00]", "label": "Maximum Heat Setpoint", "description": "Allowable range: 35 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 950, @@ -350,8 +350,8 @@ "#": "16[0xffff00]", "label": "Minimum Heat Setpoint", "description": "Allowable range: 35 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 350, @@ -397,8 +397,8 @@ "#": "17[0xffff00]", "label": "Maximum Cool Setpoint", "description": "Allowable range: 50 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 950, @@ -444,8 +444,8 @@ "#": "18[0xffff00]", "label": "Minimum Cool Setpoint", "description": "Allowable range: 50 to 95 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 950, "defaultValue": 500, @@ -624,8 +624,8 @@ "label": "Active Power Source", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "readOnly": true, + "allowManualEntry": false, "options": [ { "label": "Battery", @@ -640,8 +640,8 @@ { "#": "27", "label": "Battery Alert Threshold Low", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 30 @@ -649,8 +649,8 @@ { "#": "28", "label": "Battery Alert Threshold Very Low", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 15 @@ -1124,8 +1124,8 @@ "description": "Status of the remote temperature sensor.", "valueSize": 2, "defaultValue": 0, - "allowManualEntry": false, "readOnly": true, + "allowManualEntry": false, "options": [ { "label": "Remote temperature disabled", @@ -1153,8 +1153,8 @@ "#": "31[0xffff00]", "label": "Heat Differential", "description": "Allowable range: 1 to 10 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 100, "defaultValue": 30, @@ -1200,8 +1200,8 @@ "#": "32[0xffff00]", "label": "Cool Differential", "description": "Allowable range: 1 to 10 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 100, "defaultValue": 30, @@ -1247,8 +1247,8 @@ "#": "33[0xffff00]", "label": "Temperature Reporting Threshold", "description": "Allowable range: 0.5 to 2 in 0.5 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 20, "defaultValue": 10, @@ -1298,8 +1298,8 @@ { "#": "36[0xffff00]", "label": "C-Wire Power Thermistor Offset", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -100, "maxValue": 100, "defaultValue": -20, @@ -1553,8 +1553,8 @@ { "#": "39", "label": "Remote Temperature Timeout", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 130, @@ -1564,8 +1564,8 @@ "#": "40[0xffff00]", "label": "Remote Temperature Differential", "description": "Allowable range: 0 to 99 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 990, "defaultValue": 250, @@ -1624,8 +1624,8 @@ { "#": "43", "label": "Outdoor Temperature Timeout", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 1440, @@ -1634,8 +1634,8 @@ { "#": "45", "label": "Heat Pump Expire", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 2880, "defaultValue": 0 @@ -1644,8 +1644,8 @@ "#": "46[0xffff00]", "label": "Dehumidify by AC Offset", "description": "Allowable range: 0 to 10 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 100, "defaultValue": 30, @@ -1875,8 +1875,8 @@ { "#": "53", "label": "Vent Circulation Period", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 10, "maxValue": 1440, "defaultValue": 60 @@ -1884,8 +1884,8 @@ { "#": "54", "label": "Vent Circulation Duty Cycle", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 25 @@ -1894,8 +1894,8 @@ "#": "55[0xffff00]", "label": "Vent Maximum Outdoor Temperature", "description": "Allowable range: 0 to 99 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 990, "defaultValue": -1, @@ -1941,8 +1941,8 @@ "#": "56[0xffff00]", "label": "Vent Minimum Outdoor Temperature", "description": "Allowable range: 0 to 99 in 1 °F increments.", - "unit": "0.1°F", "valueSize": 4, + "unit": "0.1°F", "minValue": -1, "maxValue": 990, "defaultValue": -1, @@ -2046,8 +2046,8 @@ "#": "59", "label": "Minimum Battery Reporting Interval", "description": "Minimum number of hours between battery reports", - "unit": "hours", "valueSize": 1, + "unit": "hours", "minValue": 0, "maxValue": 127, "defaultValue": 60 @@ -2056,8 +2056,8 @@ "#": "60", "label": "Humidity Control Swing", "description": "Percent value the thermostat will add (for de-humidify) to or remove (for humidify) from the relevant humidity control setpoint.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 100, "defaultValue": 5 @@ -2066,8 +2066,8 @@ "#": "61", "label": "Humidity Reporting Threshold", "description": "The minimum percent the relative humidity must change between reported humidity values.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 5 @@ -2078,15 +2078,15 @@ "valueSize": 1, "minValue": 0, "maxValue": 255, - "unsigned": true, - "defaultValue": 10 + "defaultValue": 10, + "unsigned": true }, { "#": "64", "label": "Vent Override Lockout", "description": "Activate the vent if it has not been active in the specified period.", - "unit": "hours", "valueSize": 1, + "unit": "hours", "minValue": 0, "maxValue": 127, "defaultValue": 12 diff --git a/packages/config/config/devices/0x019b/heatit_z-relay.json b/packages/config/config/devices/0x019b/heatit_z-relay.json index 3e6dc3b43e6a..4167c9a648f3 100644 --- a/packages/config/config/devices/0x019b/heatit_z-relay.json +++ b/packages/config/config/devices/0x019b/heatit_z-relay.json @@ -105,8 +105,8 @@ { "#": "7", "label": "Input 1 Report Interval", - "unit": "10 seconds", "valueSize": 2, + "unit": "10 seconds", "minValue": 0, "maxValue": 8640, "defaultValue": 6 @@ -114,8 +114,8 @@ { "#": "8", "label": "Input 2 Report Interval", - "unit": "10 seconds", "valueSize": 2, + "unit": "10 seconds", "minValue": 0, "maxValue": 8640, "defaultValue": 6 @@ -205,8 +205,8 @@ "#": "15", "label": "Voltage", "description": "Voltage value used for power calculation.", - "unit": "V", "valueSize": 1, + "unit": "V", "minValue": 0, "maxValue": 250, "defaultValue": 220, @@ -226,8 +226,8 @@ "#": "18", "label": "Load Size Connect to Relay Output", "description": "Actual load in Watt.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 6000, "defaultValue": 0 diff --git a/packages/config/config/devices/0x019b/heatit_z-trm_2_0.0_2.255.json b/packages/config/config/devices/0x019b/heatit_z-trm_2_0.0_2.255.json index 7f93ea6b44cc..393526e6db7b 100644 --- a/packages/config/config/devices/0x019b/heatit_z-trm_2_0.0_2.255.json +++ b/packages/config/config/devices/0x019b/heatit_z-trm_2_0.0_2.255.json @@ -116,8 +116,8 @@ { "#": "5", "label": "Floor minimum temperature limit (FLo)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 50 @@ -125,8 +125,8 @@ { "#": "6", "label": "Floor maximum temperature (FHi)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 400 @@ -134,8 +134,8 @@ { "#": "7", "label": "Air minimum temperature limit (ALo)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 50 @@ -143,8 +143,8 @@ { "#": "8", "label": "Air maximum temperature limit (AHi)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 400 @@ -160,8 +160,8 @@ { "#": "10", "label": "Heating mode setpoint (CO)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 210 @@ -169,8 +169,8 @@ { "#": "11", "label": "Energy saving mode setpoint (ECO)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 180 @@ -178,8 +178,8 @@ { "#": "12", "label": "P setting", - "unit": "oC", "valueSize": 1, + "unit": "oC", "minValue": 0, "maxValue": 10, "defaultValue": 2 @@ -187,8 +187,8 @@ { "#": "13", "label": "Cooling setpoint (COOL)", - "unit": "oC", "valueSize": 2, + "unit": "oC", "minValue": 50, "maxValue": 400, "defaultValue": 210 @@ -196,8 +196,8 @@ { "#": "14", "label": "Room sensor calibration", - "unit": "oC", "valueSize": 1, + "unit": "oC", "minValue": -40, "maxValue": 40, "defaultValue": 0 @@ -205,8 +205,8 @@ { "#": "15", "label": "Floor sensor calibration", - "unit": "oC", "valueSize": 1, + "unit": "oC", "minValue": -40, "maxValue": 40, "defaultValue": 0 @@ -214,8 +214,8 @@ { "#": "16", "label": "External sensor calibration", - "unit": "oC", "valueSize": 1, + "unit": "oC", "minValue": -40, "maxValue": 40, "defaultValue": 0 @@ -240,8 +240,8 @@ { "#": "18", "label": "Button brightness - dimmed state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 50 @@ -249,8 +249,8 @@ { "#": "19", "label": "Button brightness - active state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 100 @@ -258,8 +258,8 @@ { "#": "20", "label": "Display brightness - dimmed state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 50 @@ -267,8 +267,8 @@ { "#": "21", "label": "Display brightness - active state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 100 @@ -276,8 +276,8 @@ { "#": "22", "label": "Temperature report interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 60 @@ -285,8 +285,8 @@ { "#": "23", "label": "Temperature report hysteresis", - "unit": "oC", "valueSize": 1, + "unit": "oC", "minValue": 1, "maxValue": 100, "defaultValue": 10 @@ -294,8 +294,8 @@ { "#": "24", "label": "Meter report interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 60 @@ -303,8 +303,8 @@ { "#": "25", "label": "Meter report delta value", - "unit": "kWh/10", "valueSize": 1, + "unit": "kWh/10", "minValue": 0, "maxValue": 255, "defaultValue": 10, diff --git a/packages/config/config/devices/0x019b/heatit_zdim.json b/packages/config/config/devices/0x019b/heatit_zdim.json index 748a00ca3c33..b80e1c9e0a8c 100644 --- a/packages/config/config/devices/0x019b/heatit_zdim.json +++ b/packages/config/config/devices/0x019b/heatit_zdim.json @@ -91,8 +91,8 @@ "#": "7", "label": "Switch ON level", "description": "Defines the dim level when restored from OFF state by push button", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 99, "defaultValue": 0 @@ -120,8 +120,8 @@ "#": "10", "label": "Power restore level", "description": "Defines initial dimming level after power loss.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 99, "defaultValue": 50 diff --git a/packages/config/config/devices/0x019b/z-dim2.json b/packages/config/config/devices/0x019b/z-dim2.json index 2bd016a0c745..af1196809323 100644 --- a/packages/config/config/devices/0x019b/z-dim2.json +++ b/packages/config/config/devices/0x019b/z-dim2.json @@ -71,20 +71,20 @@ "#": "12", "label": "Meter Report Threshold", "valueSize": 1, + "unit": "W", "minValue": 0, "maxValue": 250, "defaultValue": 10, - "unit": "W", "unsigned": true }, { "#": "13", "label": "Meter Report Interval", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 65535, "defaultValue": 780, - "unit": "seconds", "unsigned": true }, { @@ -107,11 +107,11 @@ "#": "3", "label": "Auto-Off Timer", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 86400, "defaultValue": 0, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Disable", @@ -123,11 +123,11 @@ "#": "4", "label": "Auto-On Timer", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 86400, "defaultValue": 0, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Disable", @@ -139,11 +139,11 @@ "#": "5", "label": "Turn Off Delay", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 60, "defaultValue": 0, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Instant", @@ -153,8 +153,8 @@ }, { "#": "6", - "label": "Rotary Wheel Press Functionality", "$import": "~/templates/master_template.json#base_options_nounit", + "label": "Rotary Wheel Press Functionality", "unsigned": true, "options": [ { @@ -173,8 +173,8 @@ }, { "#": "7", - "label": "External Switch Functionality", "$import": "~/templates/master_template.json#base_options_nounit", + "label": "External Switch Functionality", "unsigned": true, "options": [ { @@ -203,8 +203,8 @@ }, { "#": "9", - "label": "Dimmer Curve", "$import": "~/templates/master_template.json#base_options_nounit", + "label": "Dimmer Curve", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x019b/z-han2.json b/packages/config/config/devices/0x019b/z-han2.json index 89f19c17e699..54a4e8b20c73 100644 --- a/packages/config/config/devices/0x019b/z-han2.json +++ b/packages/config/config/devices/0x019b/z-han2.json @@ -29,8 +29,8 @@ "#": "1", "label": "Meter Report Hysteresis (W)", "valueSize": 4, - "minValue": 0, "unit": "W", + "minValue": 0, "maxValue": 100000, "defaultValue": 200, "unsigned": true, @@ -45,9 +45,9 @@ "#": "2", "label": "Meter Report Hysteresis (V)", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 420, - "unit": "V", "defaultValue": 5, "unsigned": true, "options": [ @@ -61,8 +61,8 @@ "#": "3", "label": "Meter Report Hysteresis (A)", "valueSize": 2, - "minValue": 0, "unit": "A", + "minValue": 0, "maxValue": 65535, "defaultValue": 20, "unsigned": true, @@ -77,9 +77,9 @@ "#": "4", "label": "Report Interval For (W)", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 65535, - "unit": "seconds", "defaultValue": 10, "unsigned": true }, @@ -87,20 +87,20 @@ "#": "5", "label": "Meter Report Interval (V and A)", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 65535, "defaultValue": 300, - "unit": "seconds", "unsigned": true }, { "#": "6", "label": "Temperature Report Interval", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 65535, "defaultValue": 300, - "unit": "seconds", "unsigned": true }, { @@ -108,9 +108,9 @@ "label": "Temperature Report Hysteresis", "description": "Accepts values in steps of 0.5 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 100, - "unit": "0.1 °C", "defaultValue": 10, "unsigned": true, "options": [ @@ -133,23 +133,23 @@ "#": "9", "label": "Serial Number (Part 1)", "description": "First half of the meter point serial number.", - "readOnly": true, "valueSize": 4, "minValue": 0, "maxValue": 4294967295, "defaultValue": 1718972025, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "10", "label": "Serial Number (Part 2)", "description": "Last half of the meter point serial number.", - "readOnly": true, "valueSize": 4, "minValue": 0, "maxValue": 4294967295, "defaultValue": 1835363685, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "11", diff --git a/packages/config/config/devices/0x019b/z-temp2.json b/packages/config/config/devices/0x019b/z-temp2.json index c992ded6db10..09961fdf6b69 100644 --- a/packages/config/config/devices/0x019b/z-temp2.json +++ b/packages/config/config/devices/0x019b/z-temp2.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Temperature / Humidity Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 32767, "defaultValue": 900, @@ -28,8 +28,8 @@ "#": "2", "label": "Temperature Change Report Threshold", "description": "Allowable range: 5-50", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 50, "defaultValue": 10, @@ -45,8 +45,8 @@ "#": "3", "label": "Humidity Change Report Threshold", "description": "Allowable range: 5-50", - "unit": "%", "valueSize": 2, + "unit": "%", "minValue": 0, "maxValue": 50, "defaultValue": 10, @@ -61,8 +61,8 @@ { "#": "4", "label": "Temperature Sensor Calibration", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": -100, "maxValue": 100, "defaultValue": 0, @@ -71,8 +71,8 @@ { "#": "5", "label": "Humidity Sensor Calibration", - "unit": "0.1 %", "valueSize": 2, + "unit": "0.1 %", "minValue": -100, "maxValue": 100, "defaultValue": 0, @@ -81,8 +81,8 @@ { "#": "6", "label": "Proximity Sensor Re-trigger Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 2, "maxValue": 270, "defaultValue": 10, @@ -109,8 +109,8 @@ "#": "9", "label": "LED Display Timeout", "description": "How long the LED display will be active after after being activated", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 3, "maxValue": 300, "defaultValue": 3, @@ -119,8 +119,8 @@ { "#": "10", "label": "Temperature Control Hysteresis", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 3, "maxValue": 30, "defaultValue": 5, @@ -129,8 +129,8 @@ { "#": "11", "label": "Minimum Temperature Limit", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 50, @@ -140,11 +140,11 @@ "#": "12", "label": "Maximum Temperature Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 400, - "unsigned": true, - "unit": "0.1 °C" + "unsigned": true }, { "#": "13", diff --git a/packages/config/config/devices/0x019b/z-trm3.json b/packages/config/config/devices/0x019b/z-trm3.json index 8f6ce7310444..628ccf8563c5 100644 --- a/packages/config/config/devices/0x019b/z-trm3.json +++ b/packages/config/config/devices/0x019b/z-trm3.json @@ -79,8 +79,8 @@ { "#": "4", "label": "Temperature control hysteresis (DIFF I)", - "unit": ".1°C", "valueSize": 1, + "unit": ".1°C", "minValue": 3, "maxValue": 30, "defaultValue": 5 @@ -88,8 +88,8 @@ { "#": "5", "label": "Floor minimum temperature limit (FLo)", - "unit": ".1°C", "valueSize": 2, + "unit": ".1°C", "minValue": 50, "maxValue": 400, "defaultValue": 50 @@ -106,8 +106,8 @@ { "#": "7", "label": "Air minimum temperature limit (ALo)", - "unit": ".1°C", "valueSize": 2, + "unit": ".1°C", "minValue": 50, "maxValue": 400, "defaultValue": 50 @@ -115,8 +115,8 @@ { "#": "8", "label": "Air maximum temperature limit (AHi)", - "unit": ".1°C", "valueSize": 2, + "unit": ".1°C", "minValue": 50, "maxValue": 400, "defaultValue": 400 @@ -124,8 +124,8 @@ { "#": "10", "label": "Room sensor calibration", - "unit": ".1°C", "valueSize": 1, + "unit": ".1°C", "minValue": -60, "maxValue": 60, "defaultValue": 0 @@ -133,8 +133,8 @@ { "#": "11", "label": "Floor sensor calibration", - "unit": ".1°C", "valueSize": 1, + "unit": ".1°C", "minValue": -60, "maxValue": 60, "defaultValue": 0 @@ -142,8 +142,8 @@ { "#": "12", "label": "External sensor calibration", - "unit": ".1°C", "valueSize": 1, + "unit": ".1°C", "minValue": -60, "maxValue": 60, "defaultValue": 0 @@ -169,8 +169,8 @@ { "#": "14", "label": "Button brightness - dimmed state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 50 @@ -178,8 +178,8 @@ { "#": "15", "label": "Button brightness - active state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 100 @@ -187,8 +187,8 @@ { "#": "16", "label": "Display brightness - dimmed state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 50 @@ -196,8 +196,8 @@ { "#": "17", "label": "Display brightness - active state", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 100 @@ -205,8 +205,8 @@ { "#": "18", "label": "Temperature report interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 60 @@ -214,8 +214,8 @@ { "#": "19", "label": "Temperature report hysteresis", - "unit": "°C/10", "valueSize": 1, + "unit": "°C/10", "minValue": 1, "maxValue": 100, "defaultValue": 10 @@ -223,8 +223,8 @@ { "#": "20", "label": "Meter report interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 90 @@ -232,8 +232,8 @@ { "#": "21", "label": "Meter report delta value", - "unit": "kWh/10", "valueSize": 1, + "unit": "kWh/10", "minValue": 0, "maxValue": 255, "defaultValue": 10, diff --git a/packages/config/config/devices/0x019b/z-trm6.json b/packages/config/config/devices/0x019b/z-trm6.json index 67f138273a8b..574cfda925d8 100644 --- a/packages/config/config/devices/0x019b/z-trm6.json +++ b/packages/config/config/devices/0x019b/z-trm6.json @@ -79,11 +79,11 @@ "#": "3", "label": "External Sensor Resistance", "valueSize": 1, + "unit": "kΩ", "minValue": 0, "maxValue": 7, "defaultValue": 0, "unsigned": true, - "unit": "kΩ", "options": [ { "label": "10", @@ -123,90 +123,90 @@ "#": "4", "label": "Internal Sensor Min Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 50, - "unit": "0.1 °C", "unsigned": true }, { "#": "5", "label": "Floor Sensor Min Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 50, - "unit": "0.1 °C", "unsigned": true }, { "#": "6", "label": "External Sensor Min Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 50, - "unit": "0.1 °C", "unsigned": true }, { "#": "7", "label": "Internal Sensor Max Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 400, - "unit": "0.1 °C", "unsigned": true }, { "#": "8", "label": "Floor Sensor Max Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 400, - "unit": "0.1 °C", "unsigned": true }, { "#": "9", "label": "External Sensor Max Temp Limit", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 400, - "unit": "0.1 °C", "unsigned": true }, { "#": "10", "label": "Internal Sensor Calibration", "valueSize": 1, + "unit": "0.1 °C", "minValue": -60, "maxValue": 60, "defaultValue": 0, - "unit": "0.1 °C", "unsigned": false }, { "#": "11", "label": "Floor Sensor Calibration", "valueSize": 1, + "unit": "0.1 °C", "minValue": -60, "maxValue": 60, "defaultValue": 0, - "unit": "0.1 °C", "unsigned": false }, { "#": "12", "label": "External Sensor Calibration", "valueSize": 1, + "unit": "0.1 °C", "minValue": -60, "maxValue": 60, "defaultValue": 0, - "unit": "0.1 °C", "unsigned": false }, { @@ -232,10 +232,10 @@ "#": "14", "label": "Temperature Control Hysteresis", "valueSize": 1, + "unit": "0.1 °C", "minValue": 3, "maxValue": 30, "defaultValue": 5, - "unit": "0.1 °C", "unsigned": true }, { @@ -261,60 +261,60 @@ "#": "16", "label": "Active Display Brightness", "valueSize": 1, + "unit": "10 %", "minValue": 1, "maxValue": 10, "defaultValue": 10, - "unit": "10 %", "unsigned": true }, { "#": "17", "label": "Standby Display Brightness", "valueSize": 1, + "unit": "10 %", "minValue": 1, "maxValue": 10, "defaultValue": 5, - "unit": "10 %", "unsigned": true }, { "#": "18", "label": "Temperature Report Interval", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 65535, "defaultValue": 840, - "unit": "seconds", "unsigned": true }, { "#": "19", "label": "Temperature Report Hysteresis", "valueSize": 1, + "unit": "0.1 °C", "minValue": 1, "maxValue": 100, "defaultValue": 10, - "unit": "0.1 °C", "unsigned": true }, { "#": "20", "label": "Meter Report Interval", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 65535, "defaultValue": 840, - "unit": "seconds", "unsigned": true }, { "#": "21", "label": "Turn On Delay After Error", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, - "unit": "seconds", "unsigned": true, "options": [ { @@ -327,51 +327,51 @@ "#": "22", "label": "Heating Setpoint", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 210, - "unit": "0.1 °C", "unsigned": true }, { "#": "23", "label": "Cooling Setpoint", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 180, - "unit": "0.1 °C", "unsigned": true }, { "#": "24", "label": "Eco Setpoint", "valueSize": 2, + "unit": "0.1 °C", "minValue": 50, "maxValue": 400, "defaultValue": 180, - "unit": "0.1 °C", "unsigned": true }, { "#": "25", "label": "Power Regulator Active Time", "valueSize": 1, + "unit": "10 %", "minValue": 1, "maxValue": 10, "defaultValue": 2, - "unit": "10 %", "unsigned": true }, { "#": "26", "label": "Thermostat State Report Interval", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 43200, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Changes only", @@ -429,11 +429,11 @@ "#": "29", "label": "Load Power", "valueSize": 1, + "unit": "100 W", "minValue": 0, "maxValue": 99, "defaultValue": 0, "unsigned": true, - "unit": "100 W", "options": [ { "label": "Use measured value", diff --git a/packages/config/config/devices/0x019b/zm_dimmer.json b/packages/config/config/devices/0x019b/zm_dimmer.json index 0482d6f380d2..e2a4abad7b3b 100644 --- a/packages/config/config/devices/0x019b/zm_dimmer.json +++ b/packages/config/config/devices/0x019b/zm_dimmer.json @@ -100,11 +100,11 @@ "#": "5", "label": "Turn Off Delay", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 60, "defaultValue": 0, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Instant", @@ -184,8 +184,8 @@ }, { "#": "9", - "label": "Dimmer Curve", "$import": "~/templates/master_template.json#base_options_nounit", + "label": "Dimmer Curve", "unsigned": true, "options": [ { diff --git a/packages/config/config/devices/0x0208/hkzw-dws01.json b/packages/config/config/devices/0x0208/hkzw-dws01.json index 56a428442177..b5c0a7b3ba28 100644 --- a/packages/config/config/devices/0x0208/hkzw-dws01.json +++ b/packages/config/config/devices/0x0208/hkzw-dws01.json @@ -57,8 +57,8 @@ "#": "32", "label": "Level for Low Battery Alarm", "description": "Adjust the percent of battery left before a low battery level alarm is sent", - "unit": "Battery Percent", "valueSize": 1, + "unit": "Battery Percent", "minValue": 10, "maxValue": 50, "defaultValue": 20 diff --git a/packages/config/config/devices/0x0208/hkzw-so01.json b/packages/config/config/devices/0x0208/hkzw-so01.json index 4ad4eb7628d5..4490e8927a5f 100644 --- a/packages/config/config/devices/0x0208/hkzw-so01.json +++ b/packages/config/config/devices/0x0208/hkzw-so01.json @@ -49,8 +49,8 @@ "#": "151", "label": "Threshold of power report", "description": "Power Threshold at which to send meter report", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 50, @@ -59,8 +59,8 @@ { "#": "152", "label": "Percentage Threshold of to Trigger Power Report", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 255, "defaultValue": 10, @@ -70,8 +70,8 @@ "#": "171", "label": "Power Report Frequency", "description": "The interval of sending power report to association device (Group Lifeline).", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -80,8 +80,8 @@ "#": "172", "label": "Energy Report Frequency", "description": "The interval of sending energy report to association device (Group Lifeline).", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -90,8 +90,8 @@ "#": "173", "label": "Voltage Report Frequency", "description": "The interval of sending voltage report to association device (Group Lifeline)", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 @@ -100,8 +100,8 @@ "#": "174", "label": "Electricity Report Frequency", "description": "Interval for sending electricity report.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0208/hkzw-so05.json b/packages/config/config/devices/0x0208/hkzw-so05.json index 07302277f8a6..7a4d3571e5f3 100644 --- a/packages/config/config/devices/0x0208/hkzw-so05.json +++ b/packages/config/config/devices/0x0208/hkzw-so05.json @@ -81,8 +81,8 @@ "#": "151", "label": "Power Report Threshold", "description": "Power threshold for when to send reports to associated devices", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 50, @@ -92,8 +92,8 @@ "#": "152", "label": "Power Report Percentage Threshold", "description": "Percentage threshold for when to send report to associated devices", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 255, "defaultValue": 10, @@ -103,8 +103,8 @@ "#": "171", "label": "Power Report Frequence", "description": "The interval of sending power report to association device.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -113,8 +113,8 @@ "#": "172", "label": "Energy Report Frequence", "description": "The interval of sending energy report to association device.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -123,8 +123,8 @@ "#": "173", "label": "Voltage Report Frequency", "description": "The interval of sending voltage report to association device.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 @@ -133,8 +133,8 @@ "#": "174", "label": "Electricity Report Frequency", "description": "The interval of sending electricity report to association device.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0208/hkzw_ms02.json b/packages/config/config/devices/0x0208/hkzw_ms02.json index 5c2ac0eb1bc4..252589731177 100644 --- a/packages/config/config/devices/0x0208/hkzw_ms02.json +++ b/packages/config/config/devices/0x0208/hkzw_ms02.json @@ -121,8 +121,8 @@ "#": "18", "label": "Motion Alarm Cancellation Delay", "description": "Period of time after which Motion alarm will be cancelled.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0208/hkzw_so03.json b/packages/config/config/devices/0x0208/hkzw_so03.json index cb5d0e50cada..0b0189b3ff71 100644 --- a/packages/config/config/devices/0x0208/hkzw_so03.json +++ b/packages/config/config/devices/0x0208/hkzw_so03.json @@ -24,9 +24,9 @@ "paramInformation": [ { "#": "20", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Overload Protection", "description": "Triggered when the current exceeds 16.5A for more than 5 seconds", - "$import": "~/templates/master_template.json#base_enable_disable", "defaultValue": 1 }, { diff --git a/packages/config/config/devices/0x0208/pid15654.json b/packages/config/config/devices/0x0208/pid15654.json index e0816b5c503f..0095be199139 100644 --- a/packages/config/config/devices/0x0208/pid15654.json +++ b/packages/config/config/devices/0x0208/pid15654.json @@ -53,8 +53,8 @@ "#": "151", "label": "Threshold of power report", "description": "Power Threshold at which to send meter report", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 50, @@ -63,8 +63,8 @@ { "#": "152", "label": "Percentage Threshold to Trigger Power Report", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 255, "defaultValue": 10, @@ -74,8 +74,8 @@ "#": "171", "label": "Power Report Frequency", "description": "The interval of sending power report to association device (Group Lifeline).", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -84,8 +84,8 @@ "#": "172", "label": "Energy Report Frequency", "description": "The interval of sending energy report to association device (Group Lifeline).", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -94,8 +94,8 @@ "#": "173", "label": "Voltage Report Frequency", "description": "The interval of sending voltage report to association device (Group Lifeline)", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 @@ -104,8 +104,8 @@ "#": "174", "label": "Electricity Report Frequency", "description": "Interval for sending electricity report.", - "unit": "Seconds", "valueSize": 4, + "unit": "Seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0214/im-20.json b/packages/config/config/devices/0x0214/im-20.json index 816ffa25c80b..af01a7d75e33 100644 --- a/packages/config/config/devices/0x0214/im-20.json +++ b/packages/config/config/devices/0x0214/im-20.json @@ -40,8 +40,8 @@ "#": "3", "label": "Door Sensor Status Report", "description": "Auto report Door/Window status time", - "unit": "hours", "valueSize": 1, + "unit": "hours", "minValue": 0, "maxValue": 24, "defaultValue": 12 diff --git a/packages/config/config/devices/0x021f/dmms1.json b/packages/config/config/devices/0x021f/dmms1.json index 63091bd27f8b..a7157bfe8460 100644 --- a/packages/config/config/devices/0x021f/dmms1.json +++ b/packages/config/config/devices/0x021f/dmms1.json @@ -47,8 +47,8 @@ "#": "2", "label": "Trigger ON Duration", "description": "delay after motion before turning OFF", - "unit": "integer", "valueSize": 2, + "unit": "integer", "minValue": 5, "maxValue": 600, "defaultValue": 30 diff --git a/packages/config/config/devices/0x021f/dmof1.json b/packages/config/config/devices/0x021f/dmof1.json index 4cf48cc99de5..5983baa1cba4 100644 --- a/packages/config/config/devices/0x021f/dmof1.json +++ b/packages/config/config/devices/0x021f/dmof1.json @@ -51,8 +51,8 @@ "#": "2", "label": "METER_REPORT", "description": "The time between meter reports.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 300, @@ -62,8 +62,8 @@ "#": "3", "label": "Set \"Overload\" Current level", "description": "Maximum current the plug will pass", - "unit": "amps", "valueSize": 1, + "unit": "amps", "minValue": 1, "maxValue": 16, "defaultValue": 13 @@ -72,8 +72,8 @@ "#": "4", "label": "Set \"Alert\" Current Level", "description": "Current level warning threshold", - "unit": "amps", "valueSize": 1, + "unit": "amps", "minValue": 1, "maxValue": 16, "defaultValue": 12 @@ -100,8 +100,8 @@ "#": "6", "label": "Current change METER_REPORT level", "description": "Report of relative change in current flow", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 64, "defaultValue": 5 @@ -146,8 +146,8 @@ "#": "9", "label": "Set Timer Time Interval", "description": "Time before auto shut off if on.", - "unit": "minute(s)", "valueSize": 4, + "unit": "minute(s)", "minValue": 1, "maxValue": 65535, "defaultValue": 96 diff --git a/packages/config/config/devices/0x021f/dmws1.json b/packages/config/config/devices/0x021f/dmws1.json index 2b0c14b577bb..3e4e38250ff5 100644 --- a/packages/config/config/devices/0x021f/dmws1.json +++ b/packages/config/config/devices/0x021f/dmws1.json @@ -37,8 +37,8 @@ "#": "1", "label": "Total Alarm Duration", "description": "Total time the Leak Sensor will beep and light its LED in the event of a leak", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 0, "maxValue": 255, "defaultValue": 120, @@ -48,8 +48,8 @@ "#": "2", "label": "Mute Time", "description": "Quiet time between each Reminder Alarm", - "unit": "Minutes", "valueSize": 1, + "unit": "Minutes", "minValue": 1, "maxValue": 255, "defaultValue": 1, @@ -59,8 +59,8 @@ "#": "3", "label": "Initial Alarm", "description": "Time the Leak Sensor beeps before it is muted", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 10, "maxValue": 255, "defaultValue": 60, @@ -70,8 +70,8 @@ "#": "4", "label": "Reminder Alarm", "description": "Length of each beep after the Initial Alarm", - "unit": "Seconds", "valueSize": 1, + "unit": "Seconds", "minValue": 5, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x022c/osr-02.json b/packages/config/config/devices/0x022c/osr-02.json index 39efcc278adf..facd801526d9 100644 --- a/packages/config/config/devices/0x022c/osr-02.json +++ b/packages/config/config/devices/0x022c/osr-02.json @@ -18,8 +18,8 @@ { "#": "1", "label": "Battery Report Period", - "unit": "15 minutes", "valueSize": 1, + "unit": "15 minutes", "minValue": 1, "maxValue": 127, "defaultValue": 24, diff --git a/packages/config/config/devices/0x0234/zdb5100.json b/packages/config/config/devices/0x0234/zdb5100.json index 9042bc1780ba..ba3075f198a7 100644 --- a/packages/config/config/devices/0x0234/zdb5100.json +++ b/packages/config/config/devices/0x0234/zdb5100.json @@ -342,8 +342,8 @@ "#": "17", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 1 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -397,8 +397,8 @@ "#": "22[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -423,8 +423,8 @@ "#": "23[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -436,8 +436,8 @@ "#": "25", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 2 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -491,8 +491,8 @@ "#": "30[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -517,8 +517,8 @@ "#": "31[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (Off) Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -530,8 +530,8 @@ "#": "33", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 3 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -679,8 +679,8 @@ "#": "46[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (On): Blinking", - "unit": "100 ms", - "valueSize": 4 + "valueSize": 4, + "unit": "100 ms" }, { "#": "47[0xff000000]", @@ -704,8 +704,8 @@ "#": "47[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 } ], diff --git a/packages/config/config/devices/0x0234/zdb5400.json b/packages/config/config/devices/0x0234/zdb5400.json index 2cfe45a89b60..a42d6b78d2e0 100644 --- a/packages/config/config/devices/0x0234/zdb5400.json +++ b/packages/config/config/devices/0x0234/zdb5400.json @@ -306,8 +306,8 @@ "#": "22[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -332,8 +332,8 @@ "#": "23[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -345,8 +345,8 @@ "#": "25", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 2 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -400,8 +400,8 @@ "#": "30[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -426,8 +426,8 @@ "#": "31[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (Off) Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -439,8 +439,8 @@ "#": "33", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 3 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -494,8 +494,8 @@ "#": "38[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 3 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -520,8 +520,8 @@ "#": "39[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 3 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -533,8 +533,8 @@ "#": "41", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 4 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -588,8 +588,8 @@ "#": "46[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (On): Blinking", - "unit": "100 ms", - "valueSize": 4 + "valueSize": 4, + "unit": "100 ms" }, { "#": "47[0xff000000]", @@ -613,8 +613,8 @@ "#": "47[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 } ], diff --git a/packages/config/config/devices/0x0234/zrb5120.json b/packages/config/config/devices/0x0234/zrb5120.json index 29900b1021c4..3c5e6134f3b4 100644 --- a/packages/config/config/devices/0x0234/zrb5120.json +++ b/packages/config/config/devices/0x0234/zrb5120.json @@ -254,8 +254,8 @@ "#": "17", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 1 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -309,8 +309,8 @@ "#": "22[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -335,8 +335,8 @@ "#": "23[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 1 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -348,8 +348,8 @@ "#": "25", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 2 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -403,8 +403,8 @@ "#": "30[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -429,8 +429,8 @@ "#": "31[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 2 (Off) Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -442,8 +442,8 @@ "#": "33", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 3 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -497,8 +497,8 @@ "#": "38[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 3 (On): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -523,8 +523,8 @@ "#": "39[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 3 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 }, { @@ -536,8 +536,8 @@ "#": "41", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Button 4 - Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "maxValue": 43200, "defaultValue": 300 }, @@ -591,8 +591,8 @@ "#": "46[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (On): Blinking", - "unit": "100 ms", - "valueSize": 4 + "valueSize": 4, + "unit": "100 ms" }, { "#": "47[0xff000000]", @@ -616,8 +616,8 @@ "#": "47[0xff]", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "LED Time For Button 4 (Off): Blinking", - "unit": "100 ms", "valueSize": 4, + "unit": "100 ms", "defaultValue": 0 } ], diff --git a/packages/config/config/devices/0x0249/psr07.json b/packages/config/config/devices/0x0249/psr07.json index 09556b5678f7..530115c9a231 100644 --- a/packages/config/config/devices/0x0249/psr07.json +++ b/packages/config/config/devices/0x0249/psr07.json @@ -36,8 +36,8 @@ { "#": "10", "label": "Auto Report Battery Time", - "unit": "0.5 hours", "valueSize": 1, + "unit": "0.5 hours", "minValue": 1, "maxValue": 127, "defaultValue": 12, diff --git a/packages/config/config/devices/0x024c/ht-a10.json b/packages/config/config/devices/0x024c/ht-a10.json index 7ba19bd9cd0f..cc90c3cb50c5 100644 --- a/packages/config/config/devices/0x024c/ht-a10.json +++ b/packages/config/config/devices/0x024c/ht-a10.json @@ -18,8 +18,8 @@ { "#": "1", "label": "Timer Setting", - "unit": "10 minutes", "valueSize": 1, + "unit": "10 minutes", "minValue": 0, "maxValue": 54, "defaultValue": 1, @@ -28,8 +28,8 @@ { "#": "2", "label": "Remained Time", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 540, "defaultValue": 0, diff --git a/packages/config/config/devices/0x024f/ar1p.json b/packages/config/config/devices/0x024f/ar1p.json index c63ff2fae56e..290444c5e323 100644 --- a/packages/config/config/devices/0x024f/ar1p.json +++ b/packages/config/config/devices/0x024f/ar1p.json @@ -46,9 +46,9 @@ "#": "4", "label": "Safety Activate Delay", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 0, "unsigned": true }, @@ -56,9 +56,9 @@ "#": "5", "label": "Safety Off Period", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 600, "unsigned": true }, @@ -66,9 +66,9 @@ "#": "6", "label": "Safety On Period", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 300, "unsigned": true }, diff --git a/packages/config/config/devices/0x024f/ar2p.json b/packages/config/config/devices/0x024f/ar2p.json index 729fe4f1c852..ed309c51e2a1 100644 --- a/packages/config/config/devices/0x024f/ar2p.json +++ b/packages/config/config/devices/0x024f/ar2p.json @@ -46,9 +46,9 @@ "#": "4", "label": "Safety Activate Delay", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 0, "unsigned": true }, @@ -56,9 +56,9 @@ "#": "5", "label": "Safety Off Period", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 600, "unsigned": true }, @@ -66,9 +66,9 @@ "#": "6", "label": "Safety On Period", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, - "unit": "seconds", "defaultValue": 300, "unsigned": true }, diff --git a/packages/config/config/devices/0x024f/fms01.json b/packages/config/config/devices/0x024f/fms01.json index ca87ba62e984..8eda39bec1c2 100644 --- a/packages/config/config/devices/0x024f/fms01.json +++ b/packages/config/config/devices/0x024f/fms01.json @@ -17,8 +17,8 @@ { "#": "4", "label": "Safety Activate Delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -26,8 +26,8 @@ { "#": "5", "label": "Safety OFF Period", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 600 @@ -35,8 +35,8 @@ { "#": "6", "label": "Safety ON Period", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 300 @@ -45,8 +45,8 @@ "#": "10", "label": "Dimming speed", "description": "Dimmer Speed in 1/100th of a Second", - "unit": "/100s", "valueSize": 2, + "unit": "/100s", "minValue": 30, "maxValue": 32767, "defaultValue": 300 @@ -113,8 +113,8 @@ "#": "32", "label": "Thermostat Set Point Max", "description": "Set Point Max in 1/10th of a degree Celcius", - "unit": "1/10 degrees", "valueSize": 2, + "unit": "1/10 degrees", "minValue": 0, "maxValue": 500, "defaultValue": 270 @@ -132,8 +132,8 @@ "#": "36", "label": "Thermostat Control Resend Interval", "description": "Resend Interval in seconds", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3600 @@ -142,8 +142,8 @@ "#": "37", "label": "Thermostat Minimum On/Off Interval", "description": "Minimum On/Off interval in seconds", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 60, "maxValue": 32767, "defaultValue": 300 @@ -152,8 +152,8 @@ "#": "38", "label": "Thermostat Floor Temp Max", "description": "Floor Temp Max in 1/10th of a degree Celcius", - "unit": "1/10 degrees", "valueSize": 2, + "unit": "1/10 degrees", "minValue": 0, "maxValue": 500, "defaultValue": 270 @@ -178,8 +178,8 @@ "#": "64", "label": "Temperature Report Interval", "description": "Report Interval in seconds", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 600 @@ -188,8 +188,8 @@ "#": "66", "label": "Temperature Report Threshold", "description": "Report Threshold in 1/10th of a degree Celcius", - "unit": "1/10 degrees", "valueSize": 1, + "unit": "1/10 degrees", "minValue": 0, "maxValue": 127, "defaultValue": 10 @@ -215,8 +215,8 @@ "#": "240", "label": "Floor Sensor Temperature Offset", "description": "Temperature Offset in 1/10th of a degree Celcius", - "unit": "1/10 degrees", "valueSize": 1, + "unit": "1/10 degrees", "minValue": -128, "maxValue": 127, "defaultValue": 0 @@ -225,8 +225,8 @@ "#": "241", "label": "Room Sensor Temperature Offset", "description": "Temperature Offset in 1/10th of a degree Celcius", - "unit": "1/10 degrees", "valueSize": 1, + "unit": "1/10 degrees", "minValue": -128, "maxValue": 127, "defaultValue": 0 diff --git a/packages/config/config/devices/0x024f/fwc01.json b/packages/config/config/devices/0x024f/fwc01.json index 32721d304720..5bf54abdc6fc 100644 --- a/packages/config/config/devices/0x024f/fwc01.json +++ b/packages/config/config/devices/0x024f/fwc01.json @@ -17,8 +17,8 @@ { "#": "4", "label": "Safety Activate Delay", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -26,8 +26,8 @@ { "#": "5", "label": "Safety OFF Period", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 600 @@ -35,8 +35,8 @@ { "#": "6", "label": "Safety ON Period", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 300 @@ -44,8 +44,8 @@ { "#": "10", "label": "Dimming speed", - "unit": "0.01s", "valueSize": 2, + "unit": "0.01s", "minValue": 30, "maxValue": 32767, "defaultValue": 300 @@ -308,8 +308,8 @@ { "#": "32", "label": "Thermostat Set Point Max", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 500, "defaultValue": 270 @@ -317,8 +317,8 @@ { "#": "34", "label": "Thermostat Set Point Min", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 500, "defaultValue": 50 @@ -326,8 +326,8 @@ { "#": "36", "label": "Thermostat Control Resend Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3600 @@ -335,8 +335,8 @@ { "#": "37", "label": "Thermostat Minimum On/Off Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 60, "maxValue": 32767, "defaultValue": 300 @@ -344,8 +344,8 @@ { "#": "38", "label": "Thermostat Floor Temp Max", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 500, "defaultValue": 270 @@ -383,8 +383,8 @@ { "#": "64", "label": "Temperature Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 600 @@ -392,8 +392,8 @@ { "#": "66", "label": "Temperature Report Threshold", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 127, "defaultValue": 10 @@ -409,8 +409,8 @@ { "#": "240", "label": "Floor Sensor Temperature Offset", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": -128, "maxValue": 127, "defaultValue": 0 @@ -418,8 +418,8 @@ { "#": "241", "label": "Room Sensor Temperature Offset", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": -128, "maxValue": 127, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0258/eu-3.json b/packages/config/config/devices/0x0258/eu-3.json index 5d64fbb1bb9d..5792dfbcd382 100644 --- a/packages/config/config/devices/0x0258/eu-3.json +++ b/packages/config/config/devices/0x0258/eu-3.json @@ -74,8 +74,8 @@ { "#": "7", "label": "Auto-Off Delay (Channel 1)", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -83,8 +83,8 @@ { "#": "8", "label": "Auto-Off Delay (Channel 2)", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -92,8 +92,8 @@ { "#": "9", "label": "Auto-Off Delay (Channel 3)", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x0258/nas-ds01z.json b/packages/config/config/devices/0x0258/nas-ds01z.json index cea485f072be..6bebd985de6c 100644 --- a/packages/config/config/devices/0x0258/nas-ds01z.json +++ b/packages/config/config/devices/0x0258/nas-ds01z.json @@ -42,8 +42,8 @@ "#": "1", "label": "ON/OFF Delay", "description": "Delay before the OFF command is transmitted", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0258/nas-pd02z-2.json b/packages/config/config/devices/0x0258/nas-pd02z-2.json index fef8fa5f5367..69550ee13b9a 100644 --- a/packages/config/config/devices/0x0258/nas-pd02z-2.json +++ b/packages/config/config/devices/0x0258/nas-pd02z-2.json @@ -39,10 +39,10 @@ "label": "Motion Sensor: Window Time", "description": "Period during which motion is measured.", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 3, "defaultValue": 2, - "unit": "seconds", "allowManualEntry": false, "options": [ { @@ -96,9 +96,9 @@ "label": "Motion Sensor: Blind Time", "description": "Time the sensor waits before sending a next motion detected message.", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 15, - "unit": "seconds", "defaultValue": 1, "allowManualEntry": false, "options": [ @@ -170,16 +170,16 @@ }, { "#": "5", - "label": "Motion Sensor", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Motion Sensor", "defaultValue": 1 }, { "#": "6", "label": "Motion Sensor: Clear Time", "description": "Time in seconds to wait before sending 'Clear motion detected' since the last detection.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 3600, "defaultValue": 30 @@ -190,8 +190,8 @@ }, { "#": "8", - "label": "Binary Sensor Report", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Binary Sensor Report" }, { "#": "9", @@ -215,8 +215,8 @@ { "#": "10", "label": "Light Sensor: Measuring Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 3600, "defaultValue": 180 @@ -254,8 +254,8 @@ "#": "15", "label": "Temperature Change Report Threshold", "valueSize": 1, - "minValue": 1, "unit": "0.1 °C", + "minValue": 1, "maxValue": 100, "defaultValue": 10 }, diff --git a/packages/config/config/devices/0x0258/nas-pd07u1.json b/packages/config/config/devices/0x0258/nas-pd07u1.json index 8291059c6ad2..c81c5952e900 100644 --- a/packages/config/config/devices/0x0258/nas-pd07u1.json +++ b/packages/config/config/devices/0x0258/nas-pd07u1.json @@ -143,8 +143,8 @@ { "#": "16", "label": "Luminance Threshold for Basic Sets", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 1000, "defaultValue": 50 @@ -152,8 +152,8 @@ { "#": "17", "label": "Sensor Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 30000, "defaultValue": 180 diff --git a/packages/config/config/devices/0x0258/nas-pd07z.json b/packages/config/config/devices/0x0258/nas-pd07z.json index d6c75012e7ff..6d40f0a4ec19 100644 --- a/packages/config/config/devices/0x0258/nas-pd07z.json +++ b/packages/config/config/devices/0x0258/nas-pd07z.json @@ -109,8 +109,8 @@ { "#": "14", "label": "Luminance Threshold for Basic Sets", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 1000, "defaultValue": 50 @@ -118,8 +118,8 @@ { "#": "15", "label": "Sensor Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 30000, "defaultValue": 180 diff --git a/packages/config/config/devices/0x0258/nas-wr01z.json b/packages/config/config/devices/0x0258/nas-wr01z.json index f1d0c9bc4ecf..60043ad8480e 100644 --- a/packages/config/config/devices/0x0258/nas-wr01z.json +++ b/packages/config/config/devices/0x0258/nas-wr01z.json @@ -35,8 +35,8 @@ { "#": "2", "label": "Meter Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 300, @@ -46,8 +46,8 @@ "#": "3", "label": "Overcurrent Protection Threshold", "description": "Threshold at which the plug enters overcurrent protection mode", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 13 @@ -56,8 +56,8 @@ "#": "4", "label": "Overcurrent Alarm Threshold", "description": "Threshold at which the plug sends an overcurrent notification", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 15, "defaultValue": 12 @@ -71,8 +71,8 @@ "#": "6", "label": "Power Report Threshold", "description": "Change in power consumption that triggers a report", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 100, "defaultValue": 5 @@ -90,8 +90,8 @@ "#": "9", "label": "Auto-Off Delay", "description": "Delay time after which the plug is automatically switched off", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 65535, "defaultValue": 150, diff --git a/packages/config/config/devices/0x0258/nas-wr01ze.json b/packages/config/config/devices/0x0258/nas-wr01ze.json index d2bd9063e9ed..21c3f9d23d46 100644 --- a/packages/config/config/devices/0x0258/nas-wr01ze.json +++ b/packages/config/config/devices/0x0258/nas-wr01ze.json @@ -46,8 +46,8 @@ "#": "5", "label": "Auto-Off Delay", "description": "Delay time after the plug is switched off", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 120, @@ -61,8 +61,8 @@ { "#": "7", "label": "Meter Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 32767, "defaultValue": 300, @@ -72,8 +72,8 @@ "#": "8", "label": "Overcurrent Protection Threshold", "description": "Threshold at which the plug enters overcurrent protection mode", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 16 @@ -82,8 +82,8 @@ "#": "9", "label": "Current Report Threshold", "description": "Change in current consumption that triggers a report", - "unit": "0.01 A", "valueSize": 2, + "unit": "0.01 A", "minValue": 1, "maxValue": 1600, "defaultValue": 50 @@ -92,8 +92,8 @@ "#": "10", "label": "Overcurrent Alarm Threshold", "description": "Threshold at which the plug sends an overcurrent notification", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 13 diff --git a/packages/config/config/devices/0x0258/nas-ws01z.json b/packages/config/config/devices/0x0258/nas-ws01z.json index 357ab0abb6ca..2ec184c9e911 100644 --- a/packages/config/config/devices/0x0258/nas-ws01z.json +++ b/packages/config/config/devices/0x0258/nas-ws01z.json @@ -25,8 +25,8 @@ { "#": "1", "label": "Alarm Duration", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 255, "defaultValue": 120, @@ -35,8 +35,8 @@ { "#": "2", "label": "Alarm Interval", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 255, "defaultValue": 1 @@ -44,8 +44,8 @@ { "#": "3", "label": "First Alarm Activity Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 10, "maxValue": 255, "defaultValue": 60, @@ -54,8 +54,8 @@ { "#": "4", "label": "Alarm Activity Duration", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 5, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x0258/neo-ds07z.json b/packages/config/config/devices/0x0258/neo-ds07z.json index 49bdd2baf0ef..5cbb59f23ea5 100644 --- a/packages/config/config/devices/0x0258/neo-ds07z.json +++ b/packages/config/config/devices/0x0258/neo-ds07z.json @@ -26,8 +26,8 @@ { "#": "3", "label": "Temperature Calibration", - "unit": "0.1 (°C/°F)", "valueSize": 1, + "unit": "0.1 (°C/°F)", "minValue": -120, "maxValue": 121, "defaultValue": 0, @@ -36,8 +36,8 @@ { "#": "4", "label": "Humidity Offset Value", - "unit": "0.1 (RH%)", "valueSize": 1, + "unit": "0.1 (RH%)", "minValue": -120, "maxValue": 120, "defaultValue": 0, @@ -46,8 +46,8 @@ { "#": "5", "label": "Temperature Change Report Threshold", - "unit": "0.1 (°C/°F)", "valueSize": 1, + "unit": "0.1 (°C/°F)", "minValue": 0, "maxValue": 100, "defaultValue": 10, @@ -56,8 +56,8 @@ { "#": "6", "label": "Humidity Change Report Threshold", - "unit": "0.1 %rH", "valueSize": 1, + "unit": "0.1 %rH", "minValue": 0, "maxValue": 100, "defaultValue": 20, @@ -85,8 +85,8 @@ { "#": "8", "label": "Association Group 2: Basic Set Off Delay (Close)", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 30000, "defaultValue": 0, @@ -101,8 +101,8 @@ { "#": "9", "label": "Sensor Measuring Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 30000, "defaultValue": 0, diff --git a/packages/config/config/devices/0x0267/10002041-130.json b/packages/config/config/devices/0x0267/10002041-130.json index e5292ba46a3a..0e56a9d6a797 100644 --- a/packages/config/config/devices/0x0267/10002041-130.json +++ b/packages/config/config/devices/0x0267/10002041-130.json @@ -18,8 +18,8 @@ "#": "1", "label": "Association LED", "description": "Turns ON/OFF the Association LED", - "unit": "HEXADECIMAL", "valueSize": 1, + "unit": "HEXADECIMAL", "defaultValue": 0, "unsigned": true, "writeOnly": true, @@ -38,8 +38,8 @@ { "#": "2", "label": "Custom consumption limit", - "unit": "HEXADECIMAL", "valueSize": 2, + "unit": "HEXADECIMAL", "defaultValue": 0, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0267/10002041-13x.json b/packages/config/config/devices/0x0267/10002041-13x.json index f0368c28238d..8ab8be5583b2 100644 --- a/packages/config/config/devices/0x0267/10002041-13x.json +++ b/packages/config/config/devices/0x0267/10002041-13x.json @@ -18,8 +18,8 @@ "#": "1", "label": "Association LED", "description": "Turns ON/OFF the Association LED", - "unit": "HEXADECIMAL", "valueSize": 1, + "unit": "HEXADECIMAL", "defaultValue": 0, "unsigned": true, "writeOnly": true, diff --git a/packages/config/config/devices/0x0267/10002081-13x.json b/packages/config/config/devices/0x0267/10002081-13x.json index 4824761c469e..c0c256db382b 100644 --- a/packages/config/config/devices/0x0267/10002081-13x.json +++ b/packages/config/config/devices/0x0267/10002081-13x.json @@ -57,8 +57,8 @@ "minValue": 17170, "maxValue": 39015, "defaultValue": 39015, - "writeOnly": true, "unsigned": true, + "writeOnly": true, "options": [ { "label": "Parameters, Groups, and Z-Wave status are restored to default.", diff --git a/packages/config/config/devices/0x0267/1000x080-xxx-700.json b/packages/config/config/devices/0x0267/1000x080-xxx-700.json index 91a8b06ed23b..7a2e90dcfa0f 100644 --- a/packages/config/config/devices/0x0267/1000x080-xxx-700.json +++ b/packages/config/config/devices/0x0267/1000x080-xxx-700.json @@ -115,8 +115,8 @@ "description": "The central LED blinks for 5 seconds.", "valueSize": 1, "defaultValue": 255, - "writeOnly": true, "unsigned": true, + "writeOnly": true, "allowManualEntry": false, "options": [ { @@ -132,8 +132,8 @@ "minValue": 0, "maxValue": 65535, "defaultValue": 0, - "readOnly": true, - "unsigned": true + "unsigned": true, + "readOnly": true }, { "#": "23", diff --git a/packages/config/config/devices/0x0276/29990.json b/packages/config/config/devices/0x0276/29990.json index eba5f4d76cff..39c3a1145f0c 100644 --- a/packages/config/config/devices/0x0276/29990.json +++ b/packages/config/config/devices/0x0276/29990.json @@ -27,10 +27,10 @@ "#": "2", "label": "Filter - Period (read-only)", "valueSize": 2, + "unit": "30 days", "minValue": 0, "maxValue": 12, "defaultValue": 12, - "unit": "30 days", "readOnly": true }, { @@ -38,30 +38,30 @@ "label": "Filter - Days", "description": "How many days the filter has been used since the last change", "valueSize": 2, + "unit": "days", "minValue": 0, "maxValue": 0, "defaultValue": 0, - "unit": "days", "readOnly": true }, { "#": "4", "label": "Boost Mode Remaining Time", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 0, "defaultValue": 0, - "unit": "seconds", "readOnly": true }, { "#": "5", "label": "Temperature Setpoint Step", "valueSize": 2, + "unit": "0.1 °C", "minValue": 0, "maxValue": 0, "defaultValue": 0, - "unit": "0.1 °C", "readOnly": true } ] diff --git a/packages/config/config/devices/0x027a/zen04.json b/packages/config/config/devices/0x027a/zen04.json index dfa8a4cd1a32..f9c14ceb5f9d 100644 --- a/packages/config/config/devices/0x027a/zen04.json +++ b/packages/config/config/devices/0x027a/zen04.json @@ -77,8 +77,8 @@ { "#": "5", "label": "Power (W) Reporting Threshold", - "unit": "W", "valueSize": 1, + "unit": "W", "minValue": 5, "maxValue": 50, "defaultValue": 5, @@ -87,8 +87,8 @@ { "#": "6", "label": "Power (W) Reporting Interval", - "unit": "minutes", "valueSize": 4, + "unit": "minutes", "minValue": 1, "maxValue": 65535, "defaultValue": 5, @@ -104,8 +104,8 @@ { "#": "7", "label": "Current (A) Reporting Threshold", - "unit": "0.1 A", "valueSize": 1, + "unit": "0.1 A", "minValue": 1, "maxValue": 10, "defaultValue": 1, @@ -115,8 +115,8 @@ "#": "12", "$if": "firmwareVersion >= 1.30", "label": "Current (A) Reporting Interval", - "unit": "minutes", "valueSize": 4, + "unit": "minutes", "minValue": 1, "maxValue": 65535, "defaultValue": 60, @@ -125,8 +125,8 @@ { "#": "8", "label": "Energy (kWh) Reporting Threshold", - "unit": "0.01 kWh", "valueSize": 1, + "unit": "0.01 kWh", "minValue": 1, "maxValue": 100, "defaultValue": 1, @@ -136,8 +136,8 @@ "#": "13", "$if": "firmwareVersion >= 1.30", "label": "Voltage Report (V) Interval", - "unit": "minutes", "valueSize": 4, + "unit": "minutes", "minValue": 0, "maxValue": 65535, "defaultValue": 60, diff --git a/packages/config/config/devices/0x027a/zen06.json b/packages/config/config/devices/0x027a/zen06.json index ccf884ce6de6..f2bd9b6df38e 100644 --- a/packages/config/config/devices/0x027a/zen06.json +++ b/packages/config/config/devices/0x027a/zen06.json @@ -75,8 +75,8 @@ "#": "151", "label": "Power Report Value Threshold", "description": "Minimum change in Watt to report", - "unit": "Watt", "valueSize": 2, + "unit": "Watt", "minValue": 0, "maxValue": 65535, "defaultValue": 50, @@ -92,8 +92,8 @@ { "#": "171", "label": "Power (W) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 30 @@ -101,8 +101,8 @@ { "#": "172", "label": "Energy (kWh) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 300 @@ -110,8 +110,8 @@ { "#": "173", "label": "Voltage Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 @@ -119,8 +119,8 @@ { "#": "174", "label": "Current (A) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 0 diff --git a/packages/config/config/devices/0x027a/zen07.json b/packages/config/config/devices/0x027a/zen07.json index e5c0eb0ed11e..0efb45589a8e 100644 --- a/packages/config/config/devices/0x027a/zen07.json +++ b/packages/config/config/devices/0x027a/zen07.json @@ -23,8 +23,8 @@ { "#": "2", "label": "Metering Report Frequency", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 300, @@ -33,8 +33,8 @@ { "#": "3", "label": "Overload Protection Threshold", - "unit": "Amperes", "valueSize": 1, + "unit": "Amperes", "minValue": 1, "maxValue": 16, "defaultValue": 13 @@ -42,8 +42,8 @@ { "#": "4", "label": "Overload Protection LED Notification Threshold", - "unit": "Amperes", "valueSize": 1, + "unit": "Amperes", "minValue": 1, "maxValue": 13, "defaultValue": 12 @@ -72,8 +72,8 @@ { "#": "9", "label": "Auto Turn-Off Timer Interval", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 65535, "defaultValue": 150, diff --git a/packages/config/config/devices/0x027a/zen16.json b/packages/config/config/devices/0x027a/zen16.json index dcdf9283efb0..61f98c8b9245 100644 --- a/packages/config/config/devices/0x027a/zen16.json +++ b/packages/config/config/devices/0x027a/zen16.json @@ -271,8 +271,8 @@ { "#": "12", "$if": "firmwareVersion < 1.2", - "label": "Switch 1: Manual Control", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Switch 1: Manual Control", "defaultValue": 1 }, { @@ -301,8 +301,8 @@ { "#": "13", "$if": "firmwareVersion < 1.2", - "label": "Switch 2: Manual Control", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Switch 2: Manual Control", "defaultValue": 1 }, { @@ -314,8 +314,8 @@ { "#": "14", "$if": "firmwareVersion < 1.2", - "label": "Switch 3: Manual Control", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Switch 3: Manual Control", "defaultValue": 1 }, { @@ -362,9 +362,9 @@ { "#": "24", "$if": "firmwareVersion >= 1.3", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "DC Motor Mode", - "description": "When enabled only one relay may be on at a time, the other relay is automatically turned off.", - "$import": "~/templates/master_template.json#base_enable_disable" + "description": "When enabled only one relay may be on at a time, the other relay is automatically turned off." } ], "compat": { diff --git a/packages/config/config/devices/0x027a/zen20.json b/packages/config/config/devices/0x027a/zen20.json index 00ac4406a313..760e9e1fd285 100644 --- a/packages/config/config/devices/0x027a/zen20.json +++ b/packages/config/config/devices/0x027a/zen20.json @@ -28,8 +28,8 @@ { "#": "3", "label": "Power (W) Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -37,8 +37,8 @@ { "#": "4", "label": "Energy (kWh) Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -47,8 +47,8 @@ "#": "35", "$if": "firmwareVersion >= 2.3", "label": "Current (A) Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -57,8 +57,8 @@ "#": "36", "$if": "firmwareVersion >= 2.3", "label": "Voltage (V) Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 30 @@ -66,8 +66,8 @@ { "#": "5", "label": "Overload Protection", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1500, "defaultValue": 1500 diff --git a/packages/config/config/devices/0x027a/zen25.json b/packages/config/config/devices/0x027a/zen25.json index 1ddcd8d88f8b..006fc1f1fe2e 100644 --- a/packages/config/config/devices/0x027a/zen25.json +++ b/packages/config/config/devices/0x027a/zen25.json @@ -21,8 +21,8 @@ { "#": "2", "label": "Power (W) Report Threshold", - "unit": "W", "valueSize": 4, + "unit": "W", "minValue": 0, "maxValue": 65535, "defaultValue": 10, @@ -36,8 +36,8 @@ { "#": "3", "label": "Power (W) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 30, "maxValue": 2678400, "defaultValue": 30 @@ -45,8 +45,8 @@ { "#": "4", "label": "Energy (kWh) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -54,8 +54,8 @@ { "#": "5", "label": "Voltage (V) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -63,8 +63,8 @@ { "#": "6", "label": "Current (A) Report Frequency", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 5, "maxValue": 2678400, "defaultValue": 300 @@ -72,8 +72,8 @@ { "#": "7", "label": "Overload Protection", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 10, "defaultValue": 10 diff --git a/packages/config/config/devices/0x027a/zen30.json b/packages/config/config/devices/0x027a/zen30.json index 32772e0b0a8e..b93a28811ba3 100644 --- a/packages/config/config/devices/0x027a/zen30.json +++ b/packages/config/config/devices/0x027a/zen30.json @@ -205,8 +205,8 @@ "#": "23", "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Dimmer Brightness After Single Tap", - "defaultValue": 0, "unit": "%", + "defaultValue": 0, "options": [ { "label": "Last non-zero brightness", @@ -243,15 +243,15 @@ { "#": "28", "$if": "firmwareVersion >= 1.2", - "label": "Scene Control (Dimmer)", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Scene Control (Dimmer)", "defaultValue": 1 }, { "#": "29", "$if": "firmwareVersion >= 1.2", - "label": "Scene Control (Relay)", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Scene Control (Relay)", "defaultValue": 1 }, { diff --git a/packages/config/config/devices/0x027a/zen32.json b/packages/config/config/devices/0x027a/zen32.json index 5b33997665e7..9d45a5f926a1 100644 --- a/packages/config/config/devices/0x027a/zen32.json +++ b/packages/config/config/devices/0x027a/zen32.json @@ -241,15 +241,15 @@ }, { "#": "24", - "$import": "~/templates/master_template.json#base_enable_disable_inverted", "$if": "firmwareVersion >= 10.30 || firmwareVersion >= 2.10 && firmwareVersion < 10.0", + "$import": "~/templates/master_template.json#base_enable_disable_inverted", "label": "Scene Control (Relay)", "defaultValue": 0 }, { "#": "26", - "$import": "templates/zooz_template.json#enable_scene_control_3way", "$if": "firmwareVersion >= 10.40 || firmwareVersion >= 2.10 && firmwareVersion < 10.0", + "$import": "templates/zooz_template.json#enable_scene_control_3way", "label": "Scene Control (Relay)" }, { diff --git a/packages/config/config/devices/0x027a/zen34.json b/packages/config/config/devices/0x027a/zen34.json index f6950ee17616..8d5a2e0a703a 100644 --- a/packages/config/config/devices/0x027a/zen34.json +++ b/packages/config/config/devices/0x027a/zen34.json @@ -156,8 +156,8 @@ "#": "5", "$if": "firmwareVersion >= 1.40", "label": "Dimmer Control Group: Dimming Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 99, "defaultValue": 5 diff --git a/packages/config/config/devices/0x027a/zen53.json b/packages/config/config/devices/0x027a/zen53.json index f8f250626558..9abe98bc0c83 100644 --- a/packages/config/config/devices/0x027a/zen53.json +++ b/packages/config/config/devices/0x027a/zen53.json @@ -155,8 +155,8 @@ "#": "14", "label": "External Switch Type (S1)", "valueSize": 1, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "allowManualEntry": false, "options": [ { @@ -173,8 +173,8 @@ "#": "15", "label": "External Switch Type (S2)", "valueSize": 1, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "allowManualEntry": false, "options": [ { diff --git a/packages/config/config/devices/0x027a/zen54.json b/packages/config/config/devices/0x027a/zen54.json index 832706acedb1..0d753ee35117 100644 --- a/packages/config/config/devices/0x027a/zen54.json +++ b/packages/config/config/devices/0x027a/zen54.json @@ -51,8 +51,8 @@ ] }, { - "$if": "firmwareVersion >= 1.10", "#": "4", + "$if": "firmwareVersion >= 1.10", "label": "Minimum Brightness", "valueSize": 1, "minValue": 1, @@ -60,8 +60,8 @@ "defaultValue": 1 }, { - "$if": "firmwareVersion >= 1.10", "#": "5", + "$if": "firmwareVersion >= 1.10", "label": "Maximum Brightness", "valueSize": 1, "minValue": 55, diff --git a/packages/config/config/devices/0x027a/zen55.json b/packages/config/config/devices/0x027a/zen55.json index 74880d21575f..7880018069d6 100644 --- a/packages/config/config/devices/0x027a/zen55.json +++ b/packages/config/config/devices/0x027a/zen55.json @@ -142,8 +142,8 @@ ] }, { - "$if": "firmwareVersion >= 1.10", "#": "9[0x01]", + "$if": "firmwareVersion >= 1.10", "label": "Report Type: Signal Sensor", "valueSize": 1, "defaultValue": 0, @@ -160,8 +160,8 @@ ] }, { - "$if": "firmwareVersion >= 1.10", "#": "9[0x02]", + "$if": "firmwareVersion >= 1.10", "label": "Report Type: Z-Wave", "valueSize": 1, "defaultValue": 0, diff --git a/packages/config/config/devices/0x027a/zse08.json b/packages/config/config/devices/0x027a/zse08.json index 1d42dba9ddbf..4dbb384f238b 100644 --- a/packages/config/config/devices/0x027a/zse08.json +++ b/packages/config/config/devices/0x027a/zse08.json @@ -18,8 +18,8 @@ "#": "1", "$import": "~/templates/master_template.json#base_0-65535", "label": "Close Delay", - "unit": "seconds", - "valueSize": 2 + "valueSize": 2, + "unit": "seconds" }, { "#": "2", diff --git a/packages/config/config/devices/0x027a/zse09.json b/packages/config/config/devices/0x027a/zse09.json index 0605a93da641..26cc56f7eca6 100644 --- a/packages/config/config/devices/0x027a/zse09.json +++ b/packages/config/config/devices/0x027a/zse09.json @@ -28,10 +28,10 @@ "#": "2", "label": "Re-trigger Interval", "valueSize": 2, + "unit": "seconds", "minValue": 5, "maxValue": 600, "defaultValue": 30, - "unit": "seconds", "unsigned": true }, { @@ -49,10 +49,10 @@ "label": "Light Trigger Level", "description": "Max Light level which enables motion trigger", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 1000, "defaultValue": 100, - "unit": "lux", "unsigned": true }, { @@ -60,10 +60,10 @@ "label": "Motion Trigger Interval", "description": "Minimum time between motion triggers.", "valueSize": 1, + "unit": "seconds", "minValue": 1, "maxValue": 8, "defaultValue": 8, - "unit": "seconds", "unsigned": true }, { @@ -71,10 +71,10 @@ "label": "Light Polling Interval", "description": "Interval between light level reporting", "valueSize": 2, + "unit": "seconds", "minValue": 60, "maxValue": 36000, "defaultValue": 180, - "unit": "seconds", "unsigned": true }, { @@ -83,8 +83,8 @@ "valueSize": 1, "minValue": 0, "maxValue": 255, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "allowManualEntry": false, "options": [ { @@ -101,8 +101,8 @@ "#": "9", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Light Reporting Threshold", - "defaultValue": 255, "unit": "lux", + "defaultValue": 255, "unsigned": true }, { diff --git a/packages/config/config/devices/0x027a/zse18.json b/packages/config/config/devices/0x027a/zse18.json index 987939ddb5bd..915529935b1c 100644 --- a/packages/config/config/devices/0x027a/zse18.json +++ b/packages/config/config/devices/0x027a/zse18.json @@ -39,8 +39,8 @@ "#": "18", "label": "Motion Detection: Timeout", "description": "3 seconds are added to the configured value (e.g. 27 equals 30 seconds)", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 3, "maxValue": 65535, "defaultValue": 27, diff --git a/packages/config/config/devices/0x027a/zse19.json b/packages/config/config/devices/0x027a/zse19.json index fef906cee701..2b8c5088e6d4 100644 --- a/packages/config/config/devices/0x027a/zse19.json +++ b/packages/config/config/devices/0x027a/zse19.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Siren Alarm Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 600, "defaultValue": 180 @@ -26,8 +26,8 @@ { "#": "2", "label": "Temperature & Humidity reporting interval", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 1440, "defaultValue": 30 diff --git a/packages/config/config/devices/0x027a/zse29.json b/packages/config/config/devices/0x027a/zse29.json index d6ab701b6bd7..dfd2326d723c 100644 --- a/packages/config/config/devices/0x027a/zse29.json +++ b/packages/config/config/devices/0x027a/zse29.json @@ -28,8 +28,8 @@ "paramInformation": [ { "#": "1", - "$import": "~/templates/master_template.json#base_0-99_nounit", "$if": "firmwareVersion >= 2.0", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Basic Set Value", "description": "Set the value of Basic Set commands sent to the devices associated in Group 2", "defaultValue": 99 @@ -56,8 +56,8 @@ "$if": "firmwareVersion >= 2.0", "label": "Brightness Threshold", "description": "The sensor will report motion only if brightness level is below the set value (10 is the lowest value the sensor reports).", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 0, "maxValue": 900, "defaultValue": 0, @@ -77,8 +77,8 @@ "$if": "firmwareVersion >= 2.0", "label": "Re-trigger Interval", "description": "Delay before the sensor reports no motion after detecting the last motion activity (add 5 seconds to entered value).", - "unit": "+5 seconds", "valueSize": 2, + "unit": "+5 seconds", "minValue": 0, "maxValue": 720, "defaultValue": 0, @@ -93,8 +93,8 @@ "#": "6", "$if": "firmwareVersion >= 2.0", "label": "Lux Reporting Frequency", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 1440, "defaultValue": 30 @@ -104,8 +104,8 @@ "$if": "firmwareVersion >= 2.0", "label": "Manual Motion Re-trigger Time Setting", "description": "Read the value for the Motion Re-trigger Time set by knob on sensor (overridden by setting Motion Re-trigger Time parameter).", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 5, "maxValue": 720, "defaultValue": 5, @@ -122,8 +122,8 @@ "$if": "firmwareVersion >= 2.0", "label": "Manual Brightness Threshold Setting", "description": "Read the value for the Brightness Threshold set by knob on sensor (overridden by setting Brightness Threshold parameter).", - "unit": "lux", "valueSize": 2, + "unit": "lux", "minValue": 10, "maxValue": 900, "defaultValue": 900, diff --git a/packages/config/config/devices/0x027a/zse30.json b/packages/config/config/devices/0x027a/zse30.json index b60707c6d839..69acc38748db 100644 --- a/packages/config/config/devices/0x027a/zse30.json +++ b/packages/config/config/devices/0x027a/zse30.json @@ -37,8 +37,8 @@ "#": "3", "label": "Audio Alarm: First Beep Duration", "description": "Duration of First Beep", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 10, "maxValue": 255, "defaultValue": 60, @@ -48,8 +48,8 @@ "#": "4", "label": "Audio Alarm: Beep Duration", "description": "Beep Duration after first Beep", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 5, "maxValue": 255, "defaultValue": 5, diff --git a/packages/config/config/devices/0x027a/zse33.json b/packages/config/config/devices/0x027a/zse33.json index 6111c4c24d3a..b21035d6101f 100644 --- a/packages/config/config/devices/0x027a/zse33.json +++ b/packages/config/config/devices/0x027a/zse33.json @@ -55,8 +55,8 @@ "#": "3", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Chime Sound Duration", - "defaultValue": 2, - "unit": "cycles" + "unit": "cycles", + "defaultValue": 2 }, { "#": "4", diff --git a/packages/config/config/devices/0x027a/zse40.json b/packages/config/config/devices/0x027a/zse40.json index 4e0576627c12..59e74675d9ce 100644 --- a/packages/config/config/devices/0x027a/zse40.json +++ b/packages/config/config/devices/0x027a/zse40.json @@ -51,8 +51,8 @@ { "#": "2", "label": "Temperature Reporting Threshold", - "unit": "0.1 °", "valueSize": 1, + "unit": "0.1 °", "minValue": 0, "maxValue": 50, "defaultValue": 10 @@ -60,8 +60,8 @@ { "#": "3", "label": "Humidity Reporting Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 @@ -69,8 +69,8 @@ { "#": "4", "label": "Brightness Reporting Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 @@ -89,8 +89,8 @@ // Update 17.9 changed the unit to seconds "$if": "firmwareVersion >= 17.9 && firmwareVersion < 24.16", "label": "Re-trigger Interval", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 15, "maxValue": 60, "defaultValue": 15, @@ -100,8 +100,8 @@ "#": "5", // Update 24.16 changed the range to 15-255, this also applies to HW version 1.0 "label": "Re-trigger Interval", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 15, "maxValue": 255, "defaultValue": 15, diff --git a/packages/config/config/devices/0x027a/zse41.json b/packages/config/config/devices/0x027a/zse41.json index b069e5b1e09e..7b281697dc53 100644 --- a/packages/config/config/devices/0x027a/zse41.json +++ b/packages/config/config/devices/0x027a/zse41.json @@ -41,11 +41,11 @@ }, { "#": "5", + "label": "Sensor Behavior", "valueSize": 1, "defaultValue": 0, "unsigned": true, "allowManualEntry": false, - "label": "Sensor Behavior", "options": [ { "label": "Normally Closed (Report open when magnet is away)", diff --git a/packages/config/config/devices/0x0287/iblindsv3.json b/packages/config/config/devices/0x0287/iblindsv3.json index be4fd72d2fc6..1bd8c8278b16 100644 --- a/packages/config/config/devices/0x0287/iblindsv3.json +++ b/packages/config/config/devices/0x0287/iblindsv3.json @@ -101,10 +101,10 @@ "#": "6", "label": "Movement Duration", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 100, - "defaultValue": 0, - "unit": "seconds" + "defaultValue": 0 }, { "#": "7", @@ -112,8 +112,8 @@ "label": "Remote Calibration", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "writeOnly": true, + "allowManualEntry": false, "options": [ { "label": "Idle", @@ -152,8 +152,8 @@ "description": "Overrides Set commands with a value of 99 to use the value defined in parameter 4 (Default ON Value) instead", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "writeOnly": true, + "allowManualEntry": false, "options": [ { "label": "Disable", diff --git a/packages/config/config/devices/0x028c/pwly-7828-a1.json b/packages/config/config/devices/0x028c/pwly-7828-a1.json index 2347b182777c..7c859c8939d0 100644 --- a/packages/config/config/devices/0x028c/pwly-7828-a1.json +++ b/packages/config/config/devices/0x028c/pwly-7828-a1.json @@ -111,10 +111,10 @@ "#": "5", "label": "Temperature Calibration", "valueSize": 1, + "unit": "°F", "minValue": -5, "maxValue": 5, "defaultValue": 0, - "unit": "°F", "options": [ { "label": "No change", @@ -171,10 +171,10 @@ "label": "Swing Setting", "description": "Number of degrees from the set point at which the HVAC will turn on", "valueSize": 1, + "unit": "°F", "minValue": 0, "maxValue": 10, "defaultValue": 1, - "unit": "°F", "options": [ { "label": "No swing", @@ -187,10 +187,10 @@ "label": "Differential Setting", "description": "Number of degrees from the set point at which the 2nd stage will engage", "valueSize": 1, + "unit": "°F", "minValue": 0, "maxValue": 10, "defaultValue": 3, - "unit": "°F", "options": [ { "label": "No differential", diff --git a/packages/config/config/devices/0x0301/zwave_clamp.json b/packages/config/config/devices/0x0301/zwave_clamp.json index 055d09835b3d..a090f4ef8d38 100644 --- a/packages/config/config/devices/0x0301/zwave_clamp.json +++ b/packages/config/config/devices/0x0301/zwave_clamp.json @@ -17,8 +17,8 @@ { "#": "2", "label": "MEAS_PERIOD", - "unit": "s", "valueSize": 1, + "unit": "s", "minValue": 30, "maxValue": 120, "defaultValue": 30 @@ -34,8 +34,8 @@ { "#": "4", "label": "RES_ACTIVE_POWER", - "unit": "W", "valueSize": 1, + "unit": "W", "minValue": 1, "maxValue": 100, "defaultValue": 4 diff --git a/packages/config/config/devices/0x030f/ds100.json b/packages/config/config/devices/0x030f/ds100.json index 80f68cf05293..dfebf353dd43 100644 --- a/packages/config/config/devices/0x030f/ds100.json +++ b/packages/config/config/devices/0x030f/ds100.json @@ -18,8 +18,8 @@ "#": "0", "label": "Watt Meter Report Period", "description": "720*5s=3600s=1hour", - "unit": "5s", "valueSize": 2, + "unit": "5s", "minValue": 1, "maxValue": 32767, "defaultValue": 720 @@ -28,8 +28,8 @@ "#": "2", "label": "KWH Meter Report Period", "description": "6*10 min = 1 hour", - "unit": "10 minutes", "valueSize": 2, + "unit": "10 minutes", "minValue": 1, "maxValue": 32767, "defaultValue": 6 @@ -80,8 +80,8 @@ "#": "5", "label": "Threshold of current for load caution", "description": "750*0.01A=7.5A", - "unit": "0.01A", "valueSize": 2, + "unit": "0.01A", "minValue": 10, "maxValue": 750, "defaultValue": 750 @@ -89,8 +89,8 @@ { "#": "6", "label": "Threshold of KWH for load caution", - "unit": "1KWh", "valueSize": 2, + "unit": "1KWh", "minValue": 1, "maxValue": 10000, "defaultValue": 10000 @@ -108,8 +108,8 @@ "#": "8", "label": "Auto off timer", "description": "0: Disable auto off function, 1: 0x0-0x7FFF 1s-32767s", - "unit": "1s", "valueSize": 2, + "unit": "1s", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x030f/mt-100.json b/packages/config/config/devices/0x030f/mt-100.json index f205768fd591..512c573c24ca 100644 --- a/packages/config/config/devices/0x030f/mt-100.json +++ b/packages/config/config/devices/0x030f/mt-100.json @@ -28,8 +28,8 @@ "#": "2", "label": "On/Off Duration", "description": "how long the associated devices should stay ON status", - "unit": "Second", "valueSize": 2, + "unit": "Second", "minValue": 5, "maxValue": 600, "defaultValue": 30 @@ -38,8 +38,8 @@ "#": "3", "label": "Basic Set Level", "description": "value when PIR detector is triggered and Basic Set command sent", - "unit": "Percent", "valueSize": 1, + "unit": "Percent", "minValue": 0, "maxValue": 255, "defaultValue": 255, @@ -74,8 +74,8 @@ "#": "5", "label": "Ambient illumination Lux Level", "description": "Set a lux level value which determines when the light sensor is activated", - "unit": "Lux", "valueSize": 2, + "unit": "Lux", "minValue": 0, "maxValue": 1000, "defaultValue": 100 @@ -84,8 +84,8 @@ "#": "6", "label": "Retrigger Interval Setting", "description": "Interval of being re-triggered after the PIR detector has been triggered.", - "unit": "Second", "valueSize": 1, + "unit": "Second", "minValue": 0, "maxValue": 8, "defaultValue": 8 @@ -94,8 +94,8 @@ "#": "7", "label": "Light Sensor Polling Interva Time", "description": "Set the light sensor measure ambient illumination level interval time", - "unit": "Second", "valueSize": 2, + "unit": "Second", "minValue": 60, "maxValue": 36000, "defaultValue": 180, @@ -112,8 +112,8 @@ { "#": "9", "label": "Ambient illumination Lux Level Report", - "unit": "Lux", "valueSize": 2, + "unit": "Lux", "minValue": 0, "maxValue": 255, "defaultValue": 100 diff --git a/packages/config/config/devices/0x0312/mp22zd.json b/packages/config/config/devices/0x0312/mp22zd.json index 8c03ff61874e..1f9a24c1e9d8 100644 --- a/packages/config/config/devices/0x0312/mp22zd.json +++ b/packages/config/config/devices/0x0312/mp22zd.json @@ -43,10 +43,10 @@ "label": "Night Mode Brightness Level", "description": "Hold button for two seconds to enter night mode.", "valueSize": 1, + "unit": "10%", "minValue": 1, "maxValue": 10, "defaultValue": 2, - "unit": "10%", "unsigned": true }, { diff --git a/packages/config/config/devices/0x0312/zks31.json b/packages/config/config/devices/0x0312/zks31.json index 54d488755425..58212ec43efd 100644 --- a/packages/config/config/devices/0x0312/zks31.json +++ b/packages/config/config/devices/0x0312/zks31.json @@ -289,8 +289,8 @@ "#": "22", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Diming Rate (Z-Wave On)", - "defaultValue": 255, "unit": "seconds", + "defaultValue": 255, "options": [ { "label": "Instant", @@ -306,8 +306,8 @@ "#": "23", "$import": "~/templates/master_template.json#base_0-255_nounit", "label": "Diming Rate (Z-Wave Off)", - "defaultValue": 255, "unit": "seconds", + "defaultValue": 255, "options": [ { "label": "Instant", diff --git a/packages/config/config/devices/0x0315/wd-100.json b/packages/config/config/devices/0x0315/wd-100.json index 306556c2873d..04f968ab0598 100644 --- a/packages/config/config/devices/0x0315/wd-100.json +++ b/packages/config/config/devices/0x0315/wd-100.json @@ -46,8 +46,8 @@ "#": "8", "label": "Remote Dim Step Duration", "description": "Interval between dimming steps when remotely commanded", - "unit": "10 ms", "valueSize": 2, + "unit": "10 ms", "minValue": 1, "maxValue": 255, "defaultValue": 3 @@ -67,10 +67,10 @@ "label": "Step Duration", "description": "Interval between dimming steps", "valueSize": 2, + "unit": "10 ms", "minValue": 1, "maxValue": 255, - "defaultValue": 3, - "unit": "10 ms" + "defaultValue": 3 } ], "compat": { diff --git a/packages/config/config/devices/0x031e/lzw30-sn.json b/packages/config/config/devices/0x031e/lzw30-sn.json index aaf4a47aedbe..6703c1cb09de 100644 --- a/packages/config/config/devices/0x031e/lzw30-sn.json +++ b/packages/config/config/devices/0x031e/lzw30-sn.json @@ -56,8 +56,8 @@ { "#": "3", "label": "Auto Off Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -227,8 +227,8 @@ { "#": "9", "label": "LED Strip Timeout", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "defaultValue": 0, "allowManualEntry": false, "options": [ @@ -281,8 +281,8 @@ { "#": "10", "label": "Active Power Reports", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10 @@ -290,8 +290,8 @@ { "#": "11", "label": "Periodic Power & Energy Reports", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3600 @@ -299,8 +299,8 @@ { "#": "12", "label": "Energy Reports", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10 diff --git a/packages/config/config/devices/0x031e/lzw30.json b/packages/config/config/devices/0x031e/lzw30.json index d5974500870f..551ab51b8a7b 100644 --- a/packages/config/config/devices/0x031e/lzw30.json +++ b/packages/config/config/devices/0x031e/lzw30.json @@ -55,8 +55,8 @@ { "#": "3", "label": "Auto Off Timer", - "unit": "Seconds", "valueSize": 2, + "unit": "Seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 diff --git a/packages/config/config/devices/0x031e/lzw31-sn.json b/packages/config/config/devices/0x031e/lzw31-sn.json index 1bba6fadbc81..617456a1e3bf 100644 --- a/packages/config/config/devices/0x031e/lzw31-sn.json +++ b/packages/config/config/devices/0x031e/lzw31-sn.json @@ -18,8 +18,8 @@ { "#": "1", "label": "Dimming Speed (Z-Wave)", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 100, "defaultValue": 3, @@ -33,8 +33,8 @@ { "#": "2", "label": "Dimming Speed (Manual)", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 101, "defaultValue": 101, @@ -52,8 +52,8 @@ { "#": "3", "label": "Ramp Rate (Z-Wave)", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 101, "defaultValue": 101, @@ -71,8 +71,8 @@ { "#": "4", "label": "Ramp Rate (Manual)", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 101, "defaultValue": 101, @@ -91,8 +91,8 @@ "#": "5", "$if": "firmwareVersion < 1.57", "label": "Minimum Dim Level", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 45, "defaultValue": 1 @@ -101,8 +101,8 @@ "#": "5", "$if": "firmwareVersion >= 1.57", "label": "Minimum Dim Level", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 98, "defaultValue": 1 @@ -110,8 +110,8 @@ { "#": "6", "label": "Maximum Dim Level", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 55, "maxValue": 99, "defaultValue": 99 @@ -124,8 +124,8 @@ { "#": "8", "label": "Auto-off Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, @@ -479,8 +479,8 @@ { "#": "17", "label": "LED Indicator: Timeout", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 10, "defaultValue": 3 @@ -495,8 +495,8 @@ { "#": "19", "label": "Power & Energy Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3600 @@ -505,8 +505,8 @@ "#": "20", "$if": "firmwareVersion >= 1.43", "label": "Energy Report Threshold", - "unit": "0.01 kWh", "valueSize": 1, + "unit": "0.01 kWh", "minValue": 0, "maxValue": 127, "defaultValue": 10 @@ -561,8 +561,8 @@ "#": "50", "$if": "firmwareVersion >= 1.49", "label": "Button Delay Period", - "unit": "0.1 seconds", "valueSize": 1, + "unit": "0.1 seconds", "minValue": 1, "maxValue": 9, "defaultValue": 7 diff --git a/packages/config/config/devices/0x031e/lzw36.json b/packages/config/config/devices/0x031e/lzw36.json index b75f580def23..173ca0dec625 100644 --- a/packages/config/config/devices/0x031e/lzw36.json +++ b/packages/config/config/devices/0x031e/lzw36.json @@ -46,9 +46,9 @@ }, "paramInformation": [ { + "units": "seconds", "#": "1", "label": "Light Dimming Speed (Z-Wave)", - "units": "seconds", "valueSize": 1, "minValue": 0, "maxValue": 98, @@ -62,9 +62,9 @@ ] }, { + "units": "seconds", "#": "2", "label": "Light Dimming Speed", - "units": "seconds", "valueSize": 1, "minValue": 0, "maxValue": 99, @@ -82,9 +82,9 @@ ] }, { + "units": "seconds", "#": "3", "label": "Light Ramp Rate (Z-Wave)", - "units": "seconds", "valueSize": 1, "minValue": 0, "maxValue": 99, @@ -102,9 +102,9 @@ ] }, { + "units": "seconds", "#": "4", "label": "Light Ramp Rate", - "units": "seconds", "valueSize": 1, "minValue": 0, "maxValue": 99, @@ -160,17 +160,17 @@ { "#": "10", "label": "Auto Off Light Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, "unsigned": true }, { + "units": "seconds", "#": "11", "label": "Auto Off Fan Timer", - "units": "seconds", "valueSize": 2, "minValue": 0, "maxValue": 32767, @@ -904,8 +904,8 @@ "#": "26", "label": "Light LED Strip Timeout", "description": "When light LED strip intensity is set to 0, this setting allows the LED strip to turn on temporarily while being adjusted", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 10, "defaultValue": 3, @@ -921,8 +921,8 @@ "#": "27", "label": "Fan LED Strip Timeout", "description": "When the fan LED strip intensity is set to 0, this setting allows the LED strip to turn on temporarily while being adjusted.", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 10, "defaultValue": 3, @@ -938,8 +938,8 @@ "#": "28", "label": "Active Power Reports", "description": "The power level change that will result in a new power report being sent.", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10, @@ -952,10 +952,10 @@ ] }, { + "units": "seconds", "#": "29", "label": "Periodic Power & Energy Reports", "description": "Time period between consecutive power & energy reports being sent.", - "units": "seconds", "valueSize": 2, "minValue": 0, "maxValue": 32767, @@ -963,10 +963,10 @@ "unsigned": true }, { + "units": "%", "#": "30", "label": "Energy Reports", "description": "The energy level change that will result in a new energy report being sent.", - "units": "%", "valueSize": 1, "minValue": 0, "maxValue": 100, @@ -1001,8 +1001,8 @@ }, { "#": "51", - "label": "Instant On", "$if": "firmwareVersion >= 1.36", + "label": "Instant On", "description": "Enabling this disables the 700ms button delay and multi-tap scenes.", "valueSize": 1, "defaultValue": 1, diff --git a/packages/config/config/devices/0x031e/lzw41.json b/packages/config/config/devices/0x031e/lzw41.json index d48950a20460..254734a050dc 100644 --- a/packages/config/config/devices/0x031e/lzw41.json +++ b/packages/config/config/devices/0x031e/lzw41.json @@ -56,20 +56,20 @@ "#": "81", "label": "Color Temperature (Warm White)", "valueSize": 2, + "unit": "K", "minValue": 2700, "maxValue": 4999, "defaultValue": 2700, - "unit": "K", "unsigned": true }, { "#": "82", "label": "Color Temperature (Cool White)", "valueSize": 2, + "unit": "K", "minValue": 5000, "maxValue": 6500, "defaultValue": 6500, - "unit": "K", "unsigned": true } ], diff --git a/packages/config/config/devices/0x031e/lzw42.json b/packages/config/config/devices/0x031e/lzw42.json index 87cd6f598553..3887e4d7871b 100644 --- a/packages/config/config/devices/0x031e/lzw42.json +++ b/packages/config/config/devices/0x031e/lzw42.json @@ -46,10 +46,10 @@ "label": "Color Adjustment (Warm White)", "description": "Changes the color temperature for warm white", "valueSize": 2, + "unit": "K", "minValue": 2700, "maxValue": 4999, "defaultValue": 2700, - "unit": "K", "unsigned": true }, { @@ -57,10 +57,10 @@ "label": "Color Adjustment (Cold White)", "description": "Changes the color temperature for cold white", "valueSize": 2, + "unit": "K", "minValue": 5000, "maxValue": 6500, "defaultValue": 6500, - "unit": "K", "unsigned": true } ], diff --git a/packages/config/config/devices/0x031e/lzw45.json b/packages/config/config/devices/0x031e/lzw45.json index 1459a6f62a97..4d29e3a9c0d3 100644 --- a/packages/config/config/devices/0x031e/lzw45.json +++ b/packages/config/config/devices/0x031e/lzw45.json @@ -88,11 +88,11 @@ "label": "Auto Off Timer", "description": "After the strip is turned on, turn it off automatically after this time.", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, "unsigned": true, - "unit": "seconds", "options": [ { "label": "Disable", @@ -172,11 +172,11 @@ "label": "Active Power Reports", "description": "The power level change that will result in a new power report being sent. The value is relative to the previous report.", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, "defaultValue": 10, "unsigned": true, - "unit": "%", "options": [ { "label": "Disable", @@ -189,22 +189,22 @@ "label": "Periodic Power & Energy Reports", "description": "Time period between consecutive power & energy reports being sent. The timer is reset after each report is sent.", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 3600, - "unsigned": true, - "unit": "seconds" + "unsigned": true }, { "#": "19", "label": "Energy Reports", "description": "The energy level change that will result in a new energy report being sent.", "valueSize": 1, + "unit": "0.01 kWh", "minValue": 0, "maxValue": 127, "defaultValue": 10, - "unsigned": true, - "unit": "0.01 kWh" + "unsigned": true }, { "#": "21[0xff]", diff --git a/packages/config/config/devices/0x031e/vzw31-sn.json b/packages/config/config/devices/0x031e/vzw31-sn.json index 6661caa20ac2..a1bda637cfea 100644 --- a/packages/config/config/devices/0x031e/vzw31-sn.json +++ b/packages/config/config/devices/0x031e/vzw31-sn.json @@ -149,8 +149,8 @@ { "#": "12", "label": "Auto Off Timer", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0, @@ -182,8 +182,8 @@ "#": "17", "label": "Load Level Indicator Timeout", "valueSize": 1, - "minValue": 0, "unit": "seconds", + "minValue": 0, "maxValue": 11, "defaultValue": 11, "options": [ @@ -236,8 +236,8 @@ "unit": "0.01 kWh", "minValue": 0, "maxValue": 32767, - "unsigned": true, "defaultValue": 10, + "unsigned": true, "options": [ { "label": "Disabled", diff --git a/packages/config/config/devices/0x032e/dat-101.json b/packages/config/config/devices/0x032e/dat-101.json index 4ef2df775bf3..60209a9b981b 100644 --- a/packages/config/config/devices/0x032e/dat-101.json +++ b/packages/config/config/devices/0x032e/dat-101.json @@ -45,8 +45,8 @@ { "#": "2", "label": "Hysteresis", - "unit": "°C", "valueSize": 1, + "unit": "°C", "minValue": 1, "maxValue": 7, "defaultValue": 1 @@ -93,8 +93,8 @@ { "#": "6", "label": "Minimum Temperature", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": -127, "maxValue": 127, "defaultValue": 4 @@ -102,8 +102,8 @@ { "#": "7", "label": "Maximum Temperature", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": -127, "maxValue": 127, "defaultValue": 30 @@ -111,8 +111,8 @@ { "#": "8", "label": "Turbo Mode: Duration", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 100, "maxValue": 1200, "defaultValue": 120 @@ -160,8 +160,8 @@ { "#": "11", "label": "External Temperature Sensor: Poll Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 600, "defaultValue": 300 @@ -170,8 +170,8 @@ "#": "5", "label": "External Temperature Sensor: Report Timeout", "description": "After the specified timeout, lack of temperature reports from the external sensor will be considered a failure.", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 100, "maxValue": 30000, "defaultValue": 30000 @@ -179,8 +179,8 @@ { "#": "12", "label": "Automatic Reports: Temperature Change Threshold", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 16, "defaultValue": 1 @@ -188,8 +188,8 @@ { "#": "13", "label": "Automatic Reports: Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 600, "defaultValue": 300 @@ -264,8 +264,8 @@ { "#": "40", "label": "Temperature Sensor 1: Calibration", - "unit": "°C", "valueSize": 2, + "unit": "°C", "defaultValue": 0, "allowManualEntry": false, "options": [ @@ -318,8 +318,8 @@ { "#": "41", "label": "Temperature Sensor 2: Calibration", - "unit": "°C", "valueSize": 2, + "unit": "°C", "defaultValue": 0, "allowManualEntry": false, "options": [ diff --git a/packages/config/config/devices/0x0330/sr-zv9032a-eu.json b/packages/config/config/devices/0x0330/sr-zv9032a-eu.json index 745c4717ef70..049629a33bb1 100644 --- a/packages/config/config/devices/0x0330/sr-zv9032a-eu.json +++ b/packages/config/config/devices/0x0330/sr-zv9032a-eu.json @@ -28,8 +28,8 @@ { "#": "2", "label": "Battery Change Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 diff --git a/packages/config/config/devices/0x0330/ves-zw-dim-001.json b/packages/config/config/devices/0x0330/ves-zw-dim-001.json index 368a16b58d13..db3ce060671e 100644 --- a/packages/config/config/devices/0x0330/ves-zw-dim-001.json +++ b/packages/config/config/devices/0x0330/ves-zw-dim-001.json @@ -57,8 +57,8 @@ "label": "Switch Type", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Momentary", @@ -79,12 +79,12 @@ { "#": "11", "label": "Wiring Type", - "readOnly": true, "valueSize": 1, "minValue": 0, "maxValue": 2, "defaultValue": 0, "unsigned": true, + "readOnly": true, "options": [ { "label": "Unknown", @@ -103,12 +103,12 @@ { "#": "12", "label": "Load Type", - "readOnly": true, "valueSize": 1, "minValue": 0, "maxValue": 3, "defaultValue": 0, "unsigned": true, + "readOnly": true, "options": [ { "label": "Unknown", @@ -138,32 +138,32 @@ { "#": "14", "label": "Power Report: Change Threshold", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 400, - "unsigned": true, - "defaultValue": 10 + "defaultValue": 10, + "unsigned": true }, { "#": "15", "label": "Power Report: Relative Change Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 100, - "unsigned": true, - "defaultValue": 20 + "defaultValue": 20, + "unsigned": true }, { "#": "21", "label": "Power Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 600, + "unsigned": true, "options": [ { "label": "Disable", @@ -174,12 +174,12 @@ { "#": "22", "label": "Energy Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 1800, + "unsigned": true, "options": [ { "label": "Disable", @@ -190,12 +190,12 @@ { "#": "23", "label": "Voltage Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 3600, + "unsigned": true, "options": [ { "label": "Disable", @@ -206,12 +206,12 @@ { "#": "24", "label": "Current Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 3600, + "unsigned": true, "options": [ { "label": "Disable", @@ -223,9 +223,9 @@ "#": "31", "label": "Dimming Curve", "valueSize": 1, - "allowManualEntry": false, - "unsigned": true, "defaultValue": 0, + "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Linear", diff --git a/packages/config/config/devices/0x0330/ves-zw-hld-016.json b/packages/config/config/devices/0x0330/ves-zw-hld-016.json index f2b238192c84..2e40e8448e85 100644 --- a/packages/config/config/devices/0x0330/ves-zw-hld-016.json +++ b/packages/config/config/devices/0x0330/ves-zw-hld-016.json @@ -36,8 +36,8 @@ "label": "Switch Type", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Momentary", @@ -52,12 +52,12 @@ { "#": "10", "label": "Power Change Report Threshold", - "unit": "W", "valueSize": 1, + "unit": "W", "minValue": 0, "maxValue": 255, - "unsigned": true, "defaultValue": 5, + "unsigned": true, "options": [ { "label": "Disable", @@ -68,12 +68,12 @@ { "#": "11", "label": "Current Change Report Threshold", - "unit": "0.1 A", "valueSize": 1, + "unit": "0.1 A", "minValue": 0, "maxValue": 255, - "unsigned": true, "defaultValue": 1, + "unsigned": true, "options": [ { "label": "Disable", @@ -84,12 +84,12 @@ { "#": "12", "label": "Voltage Change Report Threshold", - "unit": "V", "valueSize": 1, + "unit": "V", "minValue": 0, "maxValue": 255, - "unsigned": true, "defaultValue": 1, + "unsigned": true, "options": [ { "label": "Disable", @@ -100,12 +100,12 @@ { "#": "13", "label": "Energy/Power/Voltage/Current Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 1800, + "unsigned": true, "options": [ { "label": "Disable", diff --git a/packages/config/config/devices/0x0330/ves-zw-mot-018.json b/packages/config/config/devices/0x0330/ves-zw-mot-018.json index b0825f9afb66..942b6ac1ef15 100644 --- a/packages/config/config/devices/0x0330/ves-zw-mot-018.json +++ b/packages/config/config/devices/0x0330/ves-zw-mot-018.json @@ -18,12 +18,12 @@ { "#": "2", "label": "Send Multi Level Report On State Change", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 10, - "unsigned": true, "defaultValue": 5, + "unsigned": true, "options": [ { "label": "Disable", @@ -37,8 +37,8 @@ "valueSize": 1, "minValue": 0, "maxValue": 2, - "unsigned": true, "defaultValue": 2, + "unsigned": true, "options": [ { "label": "Light", @@ -74,8 +74,8 @@ "valueSize": 1, "minValue": 0, "maxValue": 1, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Not calibrated", @@ -93,8 +93,8 @@ "description": "Only valid in Light Mode", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "All the same, toggle the respective output", @@ -129,8 +129,8 @@ "label": "Send Central Scene Commands In Response To Inputs", "valueSize": 1, "defaultValue": 1, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Disabled for both inputs", @@ -153,12 +153,12 @@ { "#": "10", "label": "Power Change Report Threshold", - "unit": "W", "valueSize": 1, + "unit": "W", "minValue": 0, "maxValue": 100, - "unsigned": true, "defaultValue": 10, + "unsigned": true, "options": [ { "label": "Disable", @@ -169,12 +169,12 @@ { "#": "11", "label": "Current Change Report Threshold", - "unit": "0.1 A", "valueSize": 1, + "unit": "0.1 A", "minValue": 0, "maxValue": 10, - "unsigned": true, "defaultValue": 1, + "unsigned": true, "options": [ { "label": "Disable", @@ -185,12 +185,12 @@ { "#": "12", "label": "Voltage Change Report Threshold", - "unit": "V", "valueSize": 1, + "unit": "V", "minValue": 0, "maxValue": 10, - "unsigned": true, "defaultValue": 2, + "unsigned": true, "options": [ { "label": "Disable", @@ -202,12 +202,12 @@ "#": "13", "label": "Slats Rotation Time", "description": "Only valid in Shutter Mode with positioning. Time taken to rotate slats before blind starts to move.", - "unit": "0.1 seconds", "valueSize": 1, + "unit": "0.1 seconds", "minValue": 0, "maxValue": 250, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -218,12 +218,12 @@ { "#": "14", "label": "Energy/Power/Voltage/Current Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 3600, + "unsigned": true, "options": [ { "label": "Disable", diff --git a/packages/config/config/devices/0x0330/ves-zw-swi-002.json b/packages/config/config/devices/0x0330/ves-zw-swi-002.json index 0cd39e894ca3..b310110a7457 100644 --- a/packages/config/config/devices/0x0330/ves-zw-swi-002.json +++ b/packages/config/config/devices/0x0330/ves-zw-swi-002.json @@ -36,8 +36,8 @@ "label": "Switch Type", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Momentary", diff --git a/packages/config/config/devices/0x0330/ves-zw-swi-014.json b/packages/config/config/devices/0x0330/ves-zw-swi-014.json index 6ed31bd1d154..0a95870ad75c 100644 --- a/packages/config/config/devices/0x0330/ves-zw-swi-014.json +++ b/packages/config/config/devices/0x0330/ves-zw-swi-014.json @@ -16,8 +16,8 @@ "paramInformation": [ { "#": "2", - "label": "Send Binary Report on State Change", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Send Binary Report on State Change", "defaultValue": 1 }, { @@ -37,8 +37,8 @@ "description": "Only valid in Light Mode", "valueSize": 1, "defaultValue": 0, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "All the same, toggle the respective output", @@ -73,8 +73,8 @@ "label": "Send Central Scene Commands In Response To Inputs", "valueSize": 1, "defaultValue": 1, - "allowManualEntry": false, "unsigned": true, + "allowManualEntry": false, "options": [ { "label": "Disabled for both inputs", @@ -97,12 +97,12 @@ { "#": "10", "label": "Power Change Report Threshold", - "unit": "W", "valueSize": 1, + "unit": "W", "minValue": 0, "maxValue": 100, - "unsigned": true, "defaultValue": 10, + "unsigned": true, "options": [ { "label": "Disable", @@ -113,12 +113,12 @@ { "#": "11", "label": "Current Change Report Threshold", - "unit": "0.1 A", "valueSize": 1, + "unit": "0.1 A", "minValue": 0, "maxValue": 10, - "unsigned": true, "defaultValue": 1, + "unsigned": true, "options": [ { "label": "Disable", @@ -129,12 +129,12 @@ { "#": "12", "label": "Voltage Change Report Threshold", - "unit": "V", "valueSize": 1, + "unit": "V", "minValue": 0, "maxValue": 10, - "unsigned": true, "defaultValue": 2, + "unsigned": true, "options": [ { "label": "Disable", @@ -145,12 +145,12 @@ { "#": "14", "label": "Energy/Power/Voltage/Current Report Interval", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, - "unsigned": true, "defaultValue": 3600, + "unsigned": true, "options": [ { "label": "Disable", diff --git a/packages/config/config/devices/0x0330/zv-9101.json b/packages/config/config/devices/0x0330/zv-9101.json index 94f6dcdf290a..d561117264ed 100644 --- a/packages/config/config/devices/0x0330/zv-9101.json +++ b/packages/config/config/devices/0x0330/zv-9101.json @@ -36,11 +36,11 @@ "#": "4", "label": "Default fade time", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 255, "defaultValue": 1, - "unsigned": true, - "unit": "seconds" + "unsigned": true }, { "#": "5", diff --git a/packages/config/config/devices/0x0344/he-ft01.json b/packages/config/config/devices/0x0344/he-ft01.json index b24ba1edbb26..79550ef1a21c 100644 --- a/packages/config/config/devices/0x0344/he-ft01.json +++ b/packages/config/config/devices/0x0344/he-ft01.json @@ -75,8 +75,8 @@ { "#": "4", "label": "Energy Consumption", - "unit": "kW", "valueSize": 4, + "unit": "kW", "minValue": 0, "maxValue": 0, "readOnly": true @@ -187,8 +187,8 @@ "#": "12", "label": "Fan Low Speed Relay: Load Power", "description": "The power of the connected device, which is used to determine energy consumption.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1100, "defaultValue": 0 @@ -197,8 +197,8 @@ "#": "13", "label": "Fan Medium Speed Relay: Load Power", "description": "The power of the connected device, which is used to determine energy consumption.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1100, "defaultValue": 0 @@ -207,8 +207,8 @@ "#": "14", "label": "Fan High Speed Relay: Load Power", "description": "The power of the connected device, which is used to determine energy consumption.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1100, "defaultValue": 0 @@ -217,8 +217,8 @@ "#": "15", "label": "Heating Valve Relay: Load Power", "description": "The power of the connected device, which is used to determine energy consumption.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1100, "defaultValue": 0 @@ -227,8 +227,8 @@ "#": "16", "label": "Cooling Valve Relay: Load Power", "description": "The power of the connected device, which is used to determine energy consumption.", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 1100, "defaultValue": 0 @@ -236,8 +236,8 @@ { "#": "17", "label": "Air Temperature Calibration", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": -100, "maxValue": 100, "defaultValue": 0 @@ -245,8 +245,8 @@ { "#": "18", "label": "Temperature Hysteresis", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 2, "maxValue": 100, "defaultValue": 5 @@ -325,8 +325,8 @@ { "#": "22", "label": "Time Override", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 0 @@ -335,8 +335,8 @@ "#": "23", "label": "Time Mode Operation", "description": "This Parameter determines the Climate Mode (Heating or Cooling)", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "defaultValue": 1, "allowManualEntry": false, "options": [ @@ -357,8 +357,8 @@ { "#": "41", "label": "Morning Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 600 @@ -366,8 +366,8 @@ { "#": "42", "label": "Day Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 900 @@ -375,8 +375,8 @@ { "#": "43", "label": "Evening Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 1800 @@ -384,8 +384,8 @@ { "#": "44", "label": "Night Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 2300 @@ -393,8 +393,8 @@ { "#": "45", "label": "Monday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -402,8 +402,8 @@ { "#": "46", "label": "Monday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -411,8 +411,8 @@ { "#": "47", "label": "Monday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -420,8 +420,8 @@ { "#": "48", "label": "Monday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -429,8 +429,8 @@ { "#": "49", "label": "Tuesday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -438,8 +438,8 @@ { "#": "50", "label": "Tuesday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -447,8 +447,8 @@ { "#": "51", "label": "Tuesday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -456,8 +456,8 @@ { "#": "52", "label": "Tuesday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -465,8 +465,8 @@ { "#": "53", "label": "Wednesday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -474,8 +474,8 @@ { "#": "54", "label": "Wednesday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -483,8 +483,8 @@ { "#": "55", "label": "Wednesday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -492,8 +492,8 @@ { "#": "56", "label": "Wednesday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -501,8 +501,8 @@ { "#": "57", "label": "Thursday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -510,8 +510,8 @@ { "#": "58", "label": "Thursday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -519,8 +519,8 @@ { "#": "59", "label": "Thursday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -528,8 +528,8 @@ { "#": "60", "label": "Thursday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -537,8 +537,8 @@ { "#": "61", "label": "Friday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -546,8 +546,8 @@ { "#": "62", "label": "Friday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -555,8 +555,8 @@ { "#": "63", "label": "Friday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -564,8 +564,8 @@ { "#": "64", "label": "Friday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -573,8 +573,8 @@ { "#": "65", "label": "Saturday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -582,8 +582,8 @@ { "#": "66", "label": "Saturday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -591,8 +591,8 @@ { "#": "67", "label": "Saturday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -600,8 +600,8 @@ { "#": "68", "label": "Saturday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -609,8 +609,8 @@ { "#": "69", "label": "Sunday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -618,8 +618,8 @@ { "#": "70", "label": "Sunday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -627,8 +627,8 @@ { "#": "71", "label": "Sunday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -636,8 +636,8 @@ { "#": "72", "label": "Sunday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -645,8 +645,8 @@ { "#": "141", "label": "Energy Consumption Report Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 120, "defaultValue": 10 @@ -671,8 +671,8 @@ { "#": "143", "label": "Sensors Consecutive Reporting Interval", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 120, "defaultValue": 10 @@ -680,8 +680,8 @@ { "#": "144", "label": "Air Temperature Sensors Report Threshold", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 0, "maxValue": 100, "defaultValue": 2 @@ -689,8 +689,8 @@ { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 @@ -698,8 +698,8 @@ { "#": "146", "label": "Light Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 99, "defaultValue": 50 diff --git a/packages/config/config/devices/0x0344/he-hls01.json b/packages/config/config/devices/0x0344/he-hls01.json index dc160571ee41..68d93c7e208e 100644 --- a/packages/config/config/devices/0x0344/he-hls01.json +++ b/packages/config/config/devices/0x0344/he-hls01.json @@ -33,9 +33,9 @@ }, { "#": "10", + "$import": "~/templates/master_template.json#base_1-100_nounit", "label": "Floor Temperature Sensor Resistance", "unit": "kΩ", - "$import": "~/templates/master_template.json#base_1-100_nounit", "defaultValue": 10 }, { @@ -60,14 +60,14 @@ }, { "#": "23", - "label": "Auto On/Off", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Auto On/Off" }, { "#": "24", "label": "Auto Off Timeout", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 5 @@ -76,8 +76,8 @@ "#": "25", "label": "Auto On Reconnect Timeout", "description": "When the load is reconnected the relay output will be switched on after this time.", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 120, "defaultValue": 0 @@ -85,8 +85,8 @@ { "#": "26", "label": "High Load Timeout Protection: Power Threshold", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 100, "maxValue": 3500, "defaultValue": 0 @@ -94,8 +94,8 @@ { "#": "27", "label": "High Load Timeout Protection: Time Threshold", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 1440, "defaultValue": 0 @@ -108,8 +108,8 @@ { "#": "46", "$if": "firmwareVersion >= 1.3", - "label": "External Input: Hold Mode Duration", - "$import": "templates/heltun_template.json#hold_duration" + "$import": "templates/heltun_template.json#hold_duration", + "label": "External Input: Hold Mode Duration" }, { "#": "51", @@ -125,51 +125,51 @@ { "#": "71", "label": "Relay Timer Mode Duration", - "unit": "seconds", - "unsigned": true, "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 43200, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", "label": "Energy Consumption Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 50, "defaultValue": 25 }, { "#": "143", - "label": "Temperature Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Temperature Report Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Temperature Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "151", - "label": "Device Failure Notifications", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Device Failure Notifications", "defaultValue": 1 }, { "#": "152", "label": "Temperature Rise Notification", "description": "The value should be lower than the value of parameter 153 (Overheat Protection & Notification).", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 1, "maxValue": 120, "defaultValue": 1 @@ -177,24 +177,24 @@ { "#": "153", "label": "Overheat Protection & Notification", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 0, "maxValue": 120, "defaultValue": 0 }, { "#": "154", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Over-Current Notification", "description": "The device will switch Off the load when the current reaches 16A.", - "$import": "~/templates/master_template.json#base_enable_disable", "defaultValue": 1 }, { "#": "155", "label": "Over-Load Protection & Notification", - "unit": "W", "valueSize": 2, + "unit": "W", "minValue": 0, "maxValue": 4000, "defaultValue": 3500 @@ -203,8 +203,8 @@ "#": "156", "$if": "firmwareVersion >= 1.5", "label": "Over-Voltage Protection & Notification", - "unit": "V", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 280, "defaultValue": 260 @@ -213,8 +213,8 @@ "#": "157", "$if": "firmwareVersion >= 1.5", "label": "Voltage Drop Protection & Notification", - "unit": "V", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 240, "defaultValue": 90 @@ -223,8 +223,8 @@ "#": "156", "$if": "firmwareVersion < 1.5", "label": "Over-Voltage Protection & Notification", - "unit": "V", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 280, "defaultValue": 240 @@ -233,29 +233,29 @@ "#": "157", "$if": "firmwareVersion < 1.5", "label": "Voltage Drop Protection & Notification", - "unit": "V", "valueSize": 2, + "unit": "V", "minValue": 0, "maxValue": 240, "defaultValue": 200 }, { "#": "158", - "label": "Sparks Protection & Notification", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Sparks Protection & Notification", "defaultValue": 1 }, { "#": "159", "$if": "firmwareVersion >= 1.2", - "label": "Load On Notification", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Load On Notification" }, { "#": "160", "$if": "firmwareVersion >= 1.2", - "label": "Load Off Notification", - "$import": "~/templates/master_template.json#base_enable_disable" + "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Load Off Notification" } ] } diff --git a/packages/config/config/devices/0x0344/he-ht01.json b/packages/config/config/devices/0x0344/he-ht01.json index 17db93205bd2..504b13aad224 100644 --- a/packages/config/config/devices/0x0344/he-ht01.json +++ b/packages/config/config/devices/0x0344/he-ht01.json @@ -108,9 +108,9 @@ }, { "#": "10", + "$import": "~/templates/master_template.json#base_1-100_nounit", "label": "Floor Sensor Resistance", "unit": "kΩ", - "$import": "~/templates/master_template.json#base_1-100_nounit", "defaultValue": 10 }, { @@ -153,8 +153,8 @@ { "#": "12", "label": "Air Temperature: Minimum", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 360, "defaultValue": 210 @@ -162,8 +162,8 @@ { "#": "13", "label": "Air Temperature: Maximum", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 20, "maxValue": 370, "defaultValue": 270 @@ -171,8 +171,8 @@ { "#": "14", "label": "Floor Temperature: Minimum", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 360, "defaultValue": 180 @@ -180,8 +180,8 @@ { "#": "15", "label": "Floor Temperature: Maximum", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 20, "maxValue": 370, "defaultValue": 320 @@ -199,8 +199,8 @@ { "#": "18", "label": "Temperature Hysteresis", - "unit": "0.1 °C", "valueSize": 1, + "unit": "0.1 °C", "minValue": 2, "maxValue": 100, "defaultValue": 5 @@ -238,8 +238,8 @@ "#": "23", "label": "Time Regulation On Time", "description": "Floor HEATING time when time regulator is selected as the source sensor in Parameter 11.", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 10, "maxValue": 240, "defaultValue": 30 @@ -248,8 +248,8 @@ "#": "24", "label": "Time Regulation Off Time", "description": "Floor IDLE time when time regulator is selected as the source sensor in Parameter 11.", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 10, "maxValue": 240, "defaultValue": 30 @@ -257,8 +257,8 @@ { "#": "25", "label": "Dry Time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 90, "defaultValue": 30 @@ -317,8 +317,8 @@ { "#": "41", "label": "Morning Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 600 @@ -326,8 +326,8 @@ { "#": "42", "label": "Day Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 900 @@ -335,8 +335,8 @@ { "#": "43", "label": "Evening Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 1800 @@ -344,8 +344,8 @@ { "#": "44", "label": "Night Start Time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 2300 @@ -353,8 +353,8 @@ { "#": "45", "label": "Monday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -362,8 +362,8 @@ { "#": "46", "label": "Monday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -371,8 +371,8 @@ { "#": "47", "label": "Monday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -380,8 +380,8 @@ { "#": "48", "label": "Monday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -389,8 +389,8 @@ { "#": "49", "label": "Tuesday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -398,8 +398,8 @@ { "#": "50", "label": "Tuesday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -407,8 +407,8 @@ { "#": "51", "label": "Tuesday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -416,8 +416,8 @@ { "#": "52", "label": "Tuesday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -425,8 +425,8 @@ { "#": "53", "label": "Wednesday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -434,8 +434,8 @@ { "#": "54", "label": "Wednesday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -443,8 +443,8 @@ { "#": "55", "label": "Wednesday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -452,8 +452,8 @@ { "#": "56", "label": "Wednesday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -461,8 +461,8 @@ { "#": "57", "label": "Thursday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -470,8 +470,8 @@ { "#": "58", "label": "Thursday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -479,8 +479,8 @@ { "#": "59", "label": "Thursday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -488,8 +488,8 @@ { "#": "60", "label": "Thursday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -497,8 +497,8 @@ { "#": "61", "label": "Friday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -506,8 +506,8 @@ { "#": "62", "label": "Friday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -515,8 +515,8 @@ { "#": "63", "label": "Friday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -524,8 +524,8 @@ { "#": "64", "label": "Friday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -533,8 +533,8 @@ { "#": "65", "label": "Saturday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -542,8 +542,8 @@ { "#": "66", "label": "Saturday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -551,8 +551,8 @@ { "#": "67", "label": "Saturday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -560,8 +560,8 @@ { "#": "68", "label": "Saturday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 @@ -569,8 +569,8 @@ { "#": "69", "label": "Sunday Morning Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 240 @@ -578,8 +578,8 @@ { "#": "70", "label": "Sunday Day Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 200 @@ -587,8 +587,8 @@ { "#": "71", "label": "Sunday Evening Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 230 @@ -596,60 +596,60 @@ { "#": "72", "label": "Sunday Night Temperature", - "unit": "0.1 °C", "valueSize": 2, + "unit": "0.1 °C", "minValue": 10, "maxValue": 370, "defaultValue": 180 }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", "label": "Energy Consumption Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 50, "defaultValue": 25 }, { "#": "143", - "label": "Sensors Consecutive Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Sensors Consecutive Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air & Floor Temperature Sensors Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 }, { "#": "152", "$if": "firmwareVersion >= 2.5", "label": "Temperature Rise Notification", - "unit": "°C", "valueSize": 2, + "unit": "°C", "minValue": 40, "maxValue": 99, "defaultValue": 50 @@ -657,16 +657,16 @@ { "#": "154", "$if": "firmwareVersion >= 2.5", + "$import": "~/templates/master_template.json#base_enable_disable", "label": "Over-Current Notification", "description": "The device will switch Off the load when the current reaches 16A.", - "$import": "~/templates/master_template.json#base_enable_disable", "defaultValue": 1 }, { "#": "159", "$if": "firmwareVersion >= 2.5", - "label": "Load Error Notification", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Load Error Notification", "defaultValue": 1 }, { diff --git a/packages/config/config/devices/0x0344/he-rs01.json b/packages/config/config/devices/0x0344/he-rs01.json index 21edb8708168..86e2d66abb55 100644 --- a/packages/config/config/devices/0x0344/he-rs01.json +++ b/packages/config/config/devices/0x0344/he-rs01.json @@ -270,13 +270,13 @@ }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 } ] diff --git a/packages/config/config/devices/0x0344/he-tps01.json b/packages/config/config/devices/0x0344/he-tps01.json index 19aeea2c49b7..f5328fbb16df 100644 --- a/packages/config/config/devices/0x0344/he-tps01.json +++ b/packages/config/config/devices/0x0344/he-tps01.json @@ -116,51 +116,51 @@ }, { "#": "101", - "label": "Relay Inverse Mode, Inching: Group 1", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 1" }, { "#": "102", - "label": "Relay Inverse Mode, Inching: Group 2", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 2" }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 }, { "#": "143", - "label": "All Sensors: Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "All Sensors: Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air Temperature Sensor Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 } ], diff --git a/packages/config/config/devices/0x0344/he-tps02.json b/packages/config/config/devices/0x0344/he-tps02.json index 2c10e4089131..7e7bcadeb76d 100644 --- a/packages/config/config/devices/0x0344/he-tps02.json +++ b/packages/config/config/devices/0x0344/he-tps02.json @@ -156,51 +156,51 @@ }, { "#": "101", - "label": "Relay Inverse Mode, Inching: Group 1", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 1" }, { "#": "102", - "label": "Relay Inverse Mode, Inching: Group 2", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 2" }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 }, { "#": "143", - "label": "All Sensors: Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "All Sensors: Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air Temperature Sensor Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 } ], diff --git a/packages/config/config/devices/0x0344/he-tps03.json b/packages/config/config/devices/0x0344/he-tps03.json index a1445f6890ba..964a5f563bac 100644 --- a/packages/config/config/devices/0x0344/he-tps03.json +++ b/packages/config/config/devices/0x0344/he-tps03.json @@ -201,51 +201,51 @@ }, { "#": "101", - "label": "Relay Inverse Mode, Inching: Group 1", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 1" }, { "#": "102", - "label": "Relay Inverse Mode, Inching: Group 2", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 2" }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 }, { "#": "143", - "label": "All Sensors: Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "All Sensors: Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air Temperature Sensor Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 } ], diff --git a/packages/config/config/devices/0x0344/he-tps04.json b/packages/config/config/devices/0x0344/he-tps04.json index 9c74670e2caa..e0913478b8af 100644 --- a/packages/config/config/devices/0x0344/he-tps04.json +++ b/packages/config/config/devices/0x0344/he-tps04.json @@ -246,51 +246,51 @@ }, { "#": "101", - "label": "Relay Inverse Mode, Inching: Group 1", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 1" }, { "#": "102", - "label": "Relay Inverse Mode, Inching: Group 2", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 2" }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 }, { "#": "143", - "label": "All Sensors: Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "All Sensors: Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air Temperature Sensor Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 } ], diff --git a/packages/config/config/devices/0x0344/he-tps05.json b/packages/config/config/devices/0x0344/he-tps05.json index 80e007fd96aa..21ac36104c4a 100644 --- a/packages/config/config/devices/0x0344/he-tps05.json +++ b/packages/config/config/devices/0x0344/he-tps05.json @@ -291,51 +291,51 @@ }, { "#": "101", - "label": "Relay Inverse Mode, Inching: Group 1", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 1" }, { "#": "102", - "label": "Relay Inverse Mode, Inching: Group 2", - "$import": "templates/heltun_template.json#relay_inverse_mode_inching" + "$import": "templates/heltun_template.json#relay_inverse_mode_inching", + "label": "Relay Inverse Mode, Inching: Group 2" }, { "#": "141", - "label": "Energy Consumption Report Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "Energy Consumption Report Interval" }, { "#": "142", - "label": "Energy Consumption Report", "$import": "~/templates/master_template.json#base_enable_disable", + "label": "Energy Consumption Report", "defaultValue": 1 }, { "#": "143", - "label": "All Sensors: Reporting Interval", - "$import": "templates/heltun_template.json#report_interval" + "$import": "templates/heltun_template.json#report_interval", + "label": "All Sensors: Reporting Interval" }, { "#": "144", + "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Air Temperature Sensor Report Threshold", "unit": "0.1 °C", - "$import": "~/templates/master_template.json#base_0-100_nounit", "defaultValue": 2 }, { "#": "145", "label": "Humidity Sensor Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 25, "defaultValue": 2 }, { "#": "146", + "$import": "~/templates/master_template.json#base_0-99_nounit", "label": "Light Sensor Report Threshold", "unit": "%", - "$import": "~/templates/master_template.json#base_0-99_nounit", "defaultValue": 50 } ], diff --git a/packages/config/config/devices/0x0344/he-zw-therm-fl2.json b/packages/config/config/devices/0x0344/he-zw-therm-fl2.json index 05b120e7414c..29ec3274ac8c 100644 --- a/packages/config/config/devices/0x0344/he-zw-therm-fl2.json +++ b/packages/config/config/devices/0x0344/he-zw-therm-fl2.json @@ -113,8 +113,8 @@ "#": "5", "label": "Power reg on", "description": "Power Regulation ON time, min", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 90, "defaultValue": 15 @@ -123,8 +123,8 @@ "#": "6", "label": "Power reg off", "description": "Power Regulation OFF time, min", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 10, "maxValue": 90, "defaultValue": 15 @@ -132,8 +132,8 @@ { "#": "7", "label": "Dry time", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 5, "maxValue": 90, "defaultValue": 30 @@ -176,8 +176,8 @@ "#": "11", "label": "Hour", "description": "Manually set time hour", - "unit": "hours", "valueSize": 1, + "unit": "hours", "minValue": 0, "maxValue": 23, "defaultValue": 0 @@ -186,8 +186,8 @@ "#": "12", "label": "Mins", "description": "Manually set time minute", - "unit": "minutes", "valueSize": 1, + "unit": "minutes", "minValue": 0, "maxValue": 59, "defaultValue": 0 @@ -231,8 +231,8 @@ { "#": "17", "label": "Floor sensor resistance", - "unit": "kohm", "valueSize": 1, + "unit": "kohm", "minValue": 1, "maxValue": 100, "defaultValue": 10 @@ -300,8 +300,8 @@ { "#": "25", "label": "Auto bright level 1", - "unit": "lumens", "valueSize": 2, + "unit": "lumens", "minValue": 0, "maxValue": 5000, "defaultValue": 30 @@ -309,8 +309,8 @@ { "#": "26", "label": "Auto bright level 2", - "unit": "lumens", "valueSize": 2, + "unit": "lumens", "minValue": 0, "maxValue": 5000, "defaultValue": 200 @@ -318,8 +318,8 @@ { "#": "27", "label": "Auto bright level 3", - "unit": "lumens", "valueSize": 2, + "unit": "lumens", "minValue": 0, "maxValue": 5000, "defaultValue": 3000 @@ -368,8 +368,8 @@ { "#": "52", "label": "Morning start time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 600 @@ -377,8 +377,8 @@ { "#": "53", "label": "Day start time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 900 @@ -386,8 +386,8 @@ { "#": "54", "label": "Evening start time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 1800 @@ -395,8 +395,8 @@ { "#": "55", "label": "Night Start time", - "unit": "HHMM", "valueSize": 2, + "unit": "HHMM", "minValue": 0, "maxValue": 2359, "defaultValue": 2300 diff --git a/packages/config/config/devices/0x0346/keypad_v2.json b/packages/config/config/devices/0x0346/keypad_v2.json index e5f88ec2e65b..d1d409238e81 100644 --- a/packages/config/config/devices/0x0346/keypad_v2.json +++ b/packages/config/config/devices/0x0346/keypad_v2.json @@ -300,12 +300,12 @@ "#": "26", "$if": "firmwareVersion >= 1.18", "label": "Motion Sensor Timeout", - "unit": "seconds", "valueSize": 1, - "defaultValue": 3, - "unsigned": true, + "unit": "seconds", "minValue": 0, - "maxValue": 60 + "maxValue": 60, + "defaultValue": 3, + "unsigned": true } ], "compat": { diff --git a/packages/config/config/devices/0x0371/zw175.json b/packages/config/config/devices/0x0371/zw175.json index c8717a826d73..137e90d7edd5 100644 --- a/packages/config/config/devices/0x0371/zw175.json +++ b/packages/config/config/devices/0x0371/zw175.json @@ -141,8 +141,8 @@ { "#": "18", "label": "LED Blinking Frequency", - "unit": "Hz", "valueSize": 1, + "unit": "Hz", "minValue": 0, "maxValue": 9, "defaultValue": 2, diff --git a/packages/config/config/devices/0x0371/zwa002.json b/packages/config/config/devices/0x0371/zwa002.json index b98bb96617b6..0baf54f2c973 100644 --- a/packages/config/config/devices/0x0371/zwa002.json +++ b/packages/config/config/devices/0x0371/zwa002.json @@ -59,8 +59,8 @@ { "#": "3", "label": "Rate of change to next color in Custom Mode", - "unit": "MS", "valueSize": 4, + "unit": "MS", "minValue": 5, "maxValue": 8640000, "defaultValue": 50 @@ -78,8 +78,8 @@ { "#": "16", "label": "Ramp rate when dimming using Multilevel Switch", - "unit": "100ms", "valueSize": 1, + "unit": "100ms", "minValue": 0, "maxValue": 100, "defaultValue": 20 @@ -105,8 +105,8 @@ { "#": "81", "label": "Adjust color component of Warm White", - "unit": "k", "valueSize": 2, + "unit": "k", "minValue": 2700, "maxValue": 4999, "defaultValue": 2700 @@ -114,8 +114,8 @@ { "#": "82", "label": "Adjust color component of Cold White", - "unit": "k", "valueSize": 2, + "unit": "k", "minValue": 5000, "maxValue": 6500, "defaultValue": 6500 diff --git a/packages/config/config/devices/0x0371/zwa009_0.0_1.255.json b/packages/config/config/devices/0x0371/zwa009_0.0_1.255.json index dc429c0078df..1156bdc68353 100644 --- a/packages/config/config/devices/0x0371/zwa009_0.0_1.255.json +++ b/packages/config/config/devices/0x0371/zwa009_0.0_1.255.json @@ -52,12 +52,12 @@ { "#": "1", "label": "Temperature Change Report Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 1, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 100, "defaultValue": 20, + "unsigned": true, "options": [ { "label": "Disable", @@ -68,12 +68,12 @@ { "#": "2", "label": "Humidity Change Report Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 20, "defaultValue": 5, + "unsigned": true, "options": [ { "label": "Disable", @@ -85,12 +85,12 @@ "#": "4", "label": "Automatic Reporting Interval", "description": "Allowable Range: 900-65535", - "unit": "seconds", - "unsigned": true, "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 43200, + "unsigned": true, "options": [ { "label": "Disable", @@ -101,12 +101,12 @@ { "#": "5", "label": "High Temperature Basic Set Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 1000, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -118,22 +118,22 @@ "#": "10", "label": "High Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "6", "label": "Low Temperature Basic Set Threshold", "description": "Allowable Range: 200-1000.", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 1000, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -145,21 +145,21 @@ "#": "9", "label": "Low Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "7", "label": "High Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -171,21 +171,21 @@ "#": "12", "label": "High Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "8", "label": "Low Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -197,21 +197,21 @@ "#": "11", "label": "Low Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "13", "label": "Humidity Offset for Mold Danger Notification", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 10, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "64", diff --git a/packages/config/config/devices/0x0371/zwa009_11.0_255.255.json b/packages/config/config/devices/0x0371/zwa009_11.0_255.255.json index 8619a93a68d2..9f00d009f4d6 100644 --- a/packages/config/config/devices/0x0371/zwa009_11.0_255.255.json +++ b/packages/config/config/devices/0x0371/zwa009_11.0_255.255.json @@ -52,12 +52,12 @@ { "#": "1", "label": "Temperature Change Report Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 1, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 100, "defaultValue": 20, + "unsigned": true, "options": [ { "label": "Disable", @@ -68,12 +68,12 @@ { "#": "2", "label": "Humidity Change Report Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 20, "defaultValue": 5, + "unsigned": true, "options": [ { "label": "Disable", @@ -85,12 +85,12 @@ "#": "4", "label": "Automatic Reporting Interval", "description": "Allowable Range: 30-65535", - "unit": "seconds", - "unsigned": true, "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 43200, + "unsigned": true, "options": [ { "label": "Disable", @@ -101,12 +101,12 @@ { "#": "5", "label": "High Temperature Basic Set Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 1000, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -118,22 +118,22 @@ "#": "10", "label": "High Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "6", "label": "Low Temperature Basic Set Threshold", "description": "Allowable Range: 200-1000.", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 1000, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -145,21 +145,21 @@ "#": "9", "label": "Low Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "7", "label": "High Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -171,21 +171,21 @@ "#": "12", "label": "High Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "8", "label": "Low Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -197,21 +197,21 @@ "#": "11", "label": "Low Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "13", "label": "Humidity Offset for Mold Danger Notification", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 10, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "64", diff --git a/packages/config/config/devices/0x0371/zwa024.json b/packages/config/config/devices/0x0371/zwa024.json index b627086329d3..87a1316a4390 100644 --- a/packages/config/config/devices/0x0371/zwa024.json +++ b/packages/config/config/devices/0x0371/zwa024.json @@ -171,11 +171,11 @@ { "#": "10", "label": "Power Status", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 1, "defaultValue": 0, + "unsigned": true, "readOnly": true, "options": [ { diff --git a/packages/config/config/devices/0x0371/zwa039.json b/packages/config/config/devices/0x0371/zwa039.json index 4f1b786bd00d..75f09fbd47fa 100644 --- a/packages/config/config/devices/0x0371/zwa039.json +++ b/packages/config/config/devices/0x0371/zwa039.json @@ -52,12 +52,12 @@ { "#": "1", "label": "Temperature Change Report Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 1, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 100, "defaultValue": 20, + "unsigned": true, "options": [ { "label": "Disable", @@ -68,12 +68,12 @@ { "#": "2", "label": "Humidity Change Report Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 20, "defaultValue": 5, + "unsigned": true, "options": [ { "label": "Disable", @@ -84,23 +84,23 @@ { "#": "3", "label": "Threshold Check Interval", - "unit": "minutes", - "unsigned": true, "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, - "defaultValue": 15 + "defaultValue": 15, + "unsigned": true }, { "#": "4", "label": "Automatic Reporting Interval", "description": "Allowable Range: 30-65535", - "unit": "seconds", - "unsigned": true, "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 65535, "defaultValue": 43200, + "unsigned": true, "options": [ { "label": "Disable", @@ -111,12 +111,12 @@ { "#": "5", "label": "High Temperature Basic Set Threshold", - "unit": "0.1 °(C/F)", - "unsigned": true, "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": 0, "maxValue": 1000, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -128,17 +128,17 @@ "#": "10", "label": "High Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "6", "label": "Low Temperature Basic Set Threshold", - "unit": "0.1 °(C/F)", "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": -200, "maxValue": 1000, "defaultValue": 0, @@ -153,21 +153,21 @@ "#": "9", "label": "Low Temperature Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "7", "label": "High Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -178,32 +178,32 @@ { "#": "16", "label": "Check Interval for Parameter 5, 6, 7, 8", - "unit": "minutes", - "unsigned": true, "valueSize": 1, + "unit": "minutes", "minValue": 1, "maxValue": 255, - "defaultValue": 15 + "defaultValue": 15, + "unsigned": true }, { "#": "12", "label": "High Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "8", "label": "Low Humidity Basic Set Threshold", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 90, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", @@ -215,27 +215,27 @@ "#": "11", "label": "Low Humidity Trigger Basic Set Value", "description": "Allowable Range: 0-99, 255.", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 255, - "defaultValue": 255 + "defaultValue": 255, + "unsigned": true }, { "#": "13", "label": "Humidity Offset for Mold Danger Notification", - "unit": "%", - "unsigned": true, "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 10, - "defaultValue": 0 + "defaultValue": 0, + "unsigned": true }, { "#": "14", "label": "Temperature Calibration", - "unit": "0.1 °(C/F)", "valueSize": 2, + "unit": "0.1 °(C/F)", "minValue": -200, "maxValue": 200, "defaultValue": 0 @@ -243,8 +243,8 @@ { "#": "15", "label": "Humidity Calibration", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": -50, "maxValue": 50, "defaultValue": 0 @@ -252,38 +252,38 @@ { "#": "65[0x01]", "label": "Sensor Report after Inclusion: Battery", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 1, - "defaultValue": 1 + "defaultValue": 1, + "unsigned": true }, { "#": "65[0x02]", "label": "Sensor Report after Inclusion: Temperature", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 1, - "defaultValue": 1 + "defaultValue": 1, + "unsigned": true }, { "#": "65[0x04]", "label": "Sensor Report after Inclusion: Humidity", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 1, - "defaultValue": 1 + "defaultValue": 1, + "unsigned": true }, { "#": "65[0x08]", "label": "Sensor Report after Inclusion: Dew Point", - "unsigned": true, "valueSize": 1, "minValue": 0, "maxValue": 1, - "defaultValue": 1 + "defaultValue": 1, + "unsigned": true }, { "#": "64", @@ -295,9 +295,9 @@ "$if": "firmwareVersion >= 2.1", "label": "Battery Calibration Check", "description": "To determine the battery calibration value, set each step in order and wait for the value to update. If the returned values are NOT 0, the battery is still calibrated.", - "unsigned": true, "valueSize": 4, "defaultValue": 83951616, + "unsigned": true, "allowManualEntry": false, "options": [ { diff --git a/packages/config/config/devices/0x039a/INT-SMDWD-01.json b/packages/config/config/devices/0x039a/INT-SMDWD-01.json index 5feef7401ca1..8ae30014de12 100644 --- a/packages/config/config/devices/0x039a/INT-SMDWD-01.json +++ b/packages/config/config/devices/0x039a/INT-SMDWD-01.json @@ -17,8 +17,8 @@ { "#": "1", "label": "Basic Set: Off Delay Time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32767, "defaultValue": 0 @@ -78,8 +78,8 @@ { "#": "5", "label": "Battery Report Interval", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 1080, "defaultValue": 480 diff --git a/packages/config/config/devices/0x039a/INT-SMMD-N1.json b/packages/config/config/devices/0x039a/INT-SMMD-N1.json index 62c221f13dc1..f68452457e98 100644 --- a/packages/config/config/devices/0x039a/INT-SMMD-N1.json +++ b/packages/config/config/devices/0x039a/INT-SMMD-N1.json @@ -165,8 +165,8 @@ "#": "6", "label": "Motion Clear Time", "description": "How long the sensor will wait before reporting no motion", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 10, "maxValue": 3600, "defaultValue": 30 @@ -204,8 +204,8 @@ { "#": "10", "label": "Brightness Measuring Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 3600, "defaultValue": 180 diff --git a/packages/config/config/devices/0x039a/nas-wr01z.json b/packages/config/config/devices/0x039a/nas-wr01z.json index 13014ad3c0bb..53e3c7fd8311 100644 --- a/packages/config/config/devices/0x039a/nas-wr01z.json +++ b/packages/config/config/devices/0x039a/nas-wr01z.json @@ -34,8 +34,8 @@ { "#": "2", "label": "Meter Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 1, "maxValue": 65535, "defaultValue": 300, @@ -45,8 +45,8 @@ "#": "3", "label": "Maximum Current", "description": "Maximum current the plug can provide to load", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 13 @@ -55,8 +55,8 @@ "#": "4", "label": "Alarm Current Threshold", "description": "An over-current notification is sent when the current is higher than this value", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 15, "defaultValue": 12 @@ -82,8 +82,8 @@ "#": "6", "label": "Power Report Threshold", "description": "Change in power consumption that triggers a report", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 100, "defaultValue": 5 @@ -113,8 +113,8 @@ "#": "9", "label": "Timed Auto-Off Period", "description": "Delay time after which the plug is automatically switched off", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 1, "maxValue": 65535, "defaultValue": 150, diff --git a/packages/config/config/devices/0x0403/plha10000.json b/packages/config/config/devices/0x0403/plha10000.json index 678c87a41405..3a95b7d39e5b 100644 --- a/packages/config/config/devices/0x0403/plha10000.json +++ b/packages/config/config/devices/0x0403/plha10000.json @@ -37,6 +37,7 @@ "minValue": 0, "maxValue": 1, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Momentary switch", @@ -46,8 +47,7 @@ "label": "Toggle switch", "value": 1 } - ], - "unsigned": true + ] }, { "#": "3", @@ -56,13 +56,13 @@ "minValue": 0, "maxValue": 43200, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", "value": 0 } - ], - "unsigned": true + ] }, { "#": "5", @@ -76,6 +76,7 @@ "minValue": 0, "maxValue": 1, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Momentary switch", @@ -85,8 +86,7 @@ "label": "Toggle switch", "value": 1 } - ], - "unsigned": true + ] }, { "#": "4", @@ -95,13 +95,13 @@ "minValue": 0, "maxValue": 43200, "defaultValue": 0, + "unsigned": true, "options": [ { "label": "Disable", "value": 0 } - ], - "unsigned": true + ] }, { "#": "6", diff --git a/packages/config/config/devices/0x0403/shbw10000.json b/packages/config/config/devices/0x0403/shbw10000.json index 201af15d8b60..787fa97a5ad7 100644 --- a/packages/config/config/devices/0x0403/shbw10000.json +++ b/packages/config/config/devices/0x0403/shbw10000.json @@ -17,8 +17,8 @@ { "#": "10", "label": "Low Battery Alarm Level", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 10, "maxValue": 50, "defaultValue": 10 @@ -40,8 +40,8 @@ { "#": "13", "label": "Waiting time between two PIR triggers", - "unit": "seconda", "valueSize": 2, + "unit": "seconda", "minValue": 5, "maxValue": 15300, "defaultValue": 30 @@ -172,8 +172,8 @@ { "#": "112", "label": "Humidity report Threshold", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 1, "maxValue": 32, "defaultValue": 5 @@ -181,8 +181,8 @@ { "#": "113", "label": "Brightness report Threshold", - "unit": "Lux", "valueSize": 2, + "unit": "Lux", "minValue": 1, "maxValue": 65528, "defaultValue": 150, @@ -191,8 +191,8 @@ { "#": "114", "label": "Battery report Threshold", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 1, "maxValue": 100, "defaultValue": 10 diff --git a/packages/config/config/devices/0x0409/cfa3010.json b/packages/config/config/devices/0x0409/cfa3010.json index 4f0838251d0f..997bd7204f32 100644 --- a/packages/config/config/devices/0x0409/cfa3010.json +++ b/packages/config/config/devices/0x0409/cfa3010.json @@ -18,8 +18,8 @@ "#": "1", "label": "Latch Hold Time", "description": "Defines how long the latch is kept open.", - "unit": "s", "valueSize": 1, + "unit": "s", "minValue": 1, "maxValue": 20, "defaultValue": 3 @@ -146,8 +146,8 @@ "#": "250", "label": "Lock status", "valueSize": 1, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "readOnly": true, "allowManualEntry": false, "options": [ @@ -221,8 +221,8 @@ "valueSize": 2, "minValue": 0, "maxValue": 65535, - "unsigned": true, "defaultValue": 0, + "unsigned": true, "readOnly": true, "allowManualEntry": false } diff --git a/packages/config/config/devices/0x0413/re_guard.json b/packages/config/config/devices/0x0413/re_guard.json index 88561cf264d4..b426926f3367 100644 --- a/packages/config/config/devices/0x0413/re_guard.json +++ b/packages/config/config/devices/0x0413/re_guard.json @@ -60,8 +60,8 @@ { "#": "4", "label": "Microleakage Test (Hour)", - "unit": "h", "valueSize": 1, + "unit": "h", "minValue": 0, "maxValue": 23, "defaultValue": 3 @@ -69,8 +69,8 @@ { "#": "5", "label": "Microleakage Test (Minute)", - "unit": "min", "valueSize": 1, + "unit": "min", "minValue": 0, "maxValue": 59, "defaultValue": 0 @@ -205,8 +205,8 @@ "#": "7", "label": "Automatic Schedule Time Interval", "description": "Interval between microleakage tests, if not fixed.", - "unit": "h", "valueSize": 2, + "unit": "h", "minValue": 0, "maxValue": 168, "defaultValue": 24 @@ -214,8 +214,8 @@ { "#": "8", "label": "Micro Leakage Measuring Time", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 0, "maxValue": 32000, "defaultValue": 100 @@ -223,8 +223,8 @@ { "#": "9", "label": "Micro Leakage Pressure Drop", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 5 @@ -232,8 +232,8 @@ { "#": "10", "label": "Micro Leakage Pressure Drop Abort", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 100 @@ -249,8 +249,8 @@ { "#": "12", "label": "Measurement Waiting Time", - "unit": "min", "valueSize": 1, + "unit": "min", "minValue": 0, "maxValue": 60, "defaultValue": 10 @@ -298,8 +298,8 @@ { "#": "15", "label": "Max Flow Rate (Present Mode)", - "unit": "l/h", "valueSize": 2, + "unit": "l/h", "minValue": 0, "maxValue": 32000, "defaultValue": 3600 @@ -307,8 +307,8 @@ { "#": "16", "label": "Max Pressure Drop (Present Mode)", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 1000 @@ -316,8 +316,8 @@ { "#": "17", "label": "Max Single Water Withdrawal (Present Mode)", - "unit": "l", "valueSize": 2, + "unit": "l", "minValue": 0, "maxValue": 32000, "defaultValue": 400 @@ -325,8 +325,8 @@ { "#": "18", "label": "Max Continuous Water Withdrawal (Present Mode)", - "unit": "l", "valueSize": 2, + "unit": "l", "minValue": 0, "maxValue": 32000, "defaultValue": 400 @@ -334,8 +334,8 @@ { "#": "19", "label": "Max Single Water Withdrawal Duration (Present Mode)", - "unit": "min", "valueSize": 2, + "unit": "min", "minValue": 0, "maxValue": 1440, "defaultValue": 30 @@ -343,8 +343,8 @@ { "#": "20", "label": "Max Continuous Water Withdrawal Duration (Present Mode)", - "unit": "min", "valueSize": 2, + "unit": "min", "minValue": 0, "maxValue": 1440, "defaultValue": 60 @@ -352,8 +352,8 @@ { "#": "21", "label": "Max Flow Rate (Absent Mode)", - "unit": "l/h", "valueSize": 2, + "unit": "l/h", "minValue": 0, "maxValue": 32000, "defaultValue": 3680 @@ -361,8 +361,8 @@ { "#": "22", "label": "Max Pressure Drop (Absent Mode)", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 1000 @@ -370,8 +370,8 @@ { "#": "23", "label": "Max Single Water Withdrawal (Absent Mode)", - "unit": "l", "valueSize": 2, + "unit": "l", "minValue": 0, "maxValue": 32000, "defaultValue": 20 @@ -379,8 +379,8 @@ { "#": "24", "label": "Max Continuous Water Withdrawal (Absent Mode)", - "unit": "l", "valueSize": 2, + "unit": "l", "minValue": 0, "maxValue": 32000, "defaultValue": 20 @@ -388,8 +388,8 @@ { "#": "25", "label": "Max Single Water Withdrawal Duration (Absent Mode)", - "unit": "min", "valueSize": 2, + "unit": "min", "minValue": 0, "maxValue": 1440, "defaultValue": 30 @@ -397,8 +397,8 @@ { "#": "26", "label": "Max Continuous Water Withdrawal Duration (Absent Mode)", - "unit": "min", "valueSize": 2, + "unit": "min", "minValue": 0, "maxValue": 32000, "defaultValue": 30 @@ -407,8 +407,8 @@ "#": "27", "label": "Temporary Macro Leakage Deactivation Time", "description": "For example for filling a pool", - "unit": "h", "valueSize": 2, + "unit": "h", "minValue": 1, "maxValue": 168, "defaultValue": 2 @@ -476,8 +476,8 @@ { "#": "31", "label": "Backup Battery Nominal Voltage", - "unit": "mV", "valueSize": 2, + "unit": "mV", "minValue": 0, "maxValue": 32000, "defaultValue": 6000 @@ -485,8 +485,8 @@ { "#": "32", "label": "Backup Battery Nominal Capacity", - "unit": "mAh", "valueSize": 2, + "unit": "mAh", "minValue": 0, "maxValue": 32000, "defaultValue": 3000 @@ -521,8 +521,8 @@ { "#": "39", "label": "Operating Time Since Last Power On", - "unit": "seconds", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2147483647, "defaultValue": 0, @@ -532,8 +532,8 @@ "#": "49", "label": "Auto Absent Timer", "description": "After no usage for this long, the operation mode is changed to 1 (absent)", - "unit": "h", "valueSize": 2, + "unit": "h", "minValue": 0, "maxValue": 168, "defaultValue": 0 @@ -542,8 +542,8 @@ "#": "50", "label": "Water Temperature High Threshold", "description": "for warning of sanitary problems", - "unit": "1/10 °C", "valueSize": 2, + "unit": "1/10 °C", "minValue": -1000, "maxValue": 1000, "defaultValue": 250 @@ -552,8 +552,8 @@ "#": "51", "label": "Water Temperature Low Threshold", "description": "warning of risk of frost", - "unit": "1/10 °C", "valueSize": 2, + "unit": "1/10 °C", "minValue": -1000, "maxValue": 1000, "defaultValue": 20 @@ -562,8 +562,8 @@ "#": "52", "label": "Water Pressure High Threshold", "description": "warning of values above valid operating cond.", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 1000 @@ -572,8 +572,8 @@ "#": "53", "label": "Water Pressure Low Threshold", "description": "water pressure low threshold for warning of values below valid operating cond.", - "unit": "kPa", "valueSize": 2, + "unit": "kPa", "minValue": 0, "maxValue": 32000, "defaultValue": 100 diff --git a/packages/config/config/devices/0x041a/kp-so-02.json b/packages/config/config/devices/0x041a/kp-so-02.json index 27e0bf2445e3..e101b1aa1f27 100644 --- a/packages/config/config/devices/0x041a/kp-so-02.json +++ b/packages/config/config/devices/0x041a/kp-so-02.json @@ -39,8 +39,8 @@ "#": "5", "label": "Auto-Off Delay", "description": "Delay time after the plug is switched off", - "unit": "minutes", "valueSize": 2, + "unit": "minutes", "minValue": 0, "maxValue": 32767, "defaultValue": 120, @@ -54,8 +54,8 @@ { "#": "7", "label": "Meter Report Interval", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 30, "maxValue": 32767, "defaultValue": 300, @@ -65,8 +65,8 @@ "#": "8", "label": "Overcurrent Protection Threshold", "description": "Threshold at which the plug enters overcurrent protection mode", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 16 @@ -75,8 +75,8 @@ "#": "9", "label": "Current Report Threshold", "description": "Change in current consumption that triggers a report", - "unit": "0.01 A", "valueSize": 2, + "unit": "0.01 A", "minValue": 1, "maxValue": 1600, "defaultValue": 50 @@ -85,8 +85,8 @@ "#": "10", "label": "Overcurrent Alarm Threshold", "description": "Threshold at which the plug sends an overcurrent notification", - "unit": "A", "valueSize": 1, + "unit": "A", "minValue": 1, "maxValue": 16, "defaultValue": 13 diff --git a/packages/config/config/devices/0x0438/4512746.json b/packages/config/config/devices/0x0438/4512746.json index 167ce3e17320..4df6a73e410a 100644 --- a/packages/config/config/devices/0x0438/4512746.json +++ b/packages/config/config/devices/0x0438/4512746.json @@ -94,11 +94,11 @@ "#": "10", "label": "Power Change Report Threshold", "valueSize": 1, + "unit": "W", "minValue": 0, "maxValue": 255, "defaultValue": 5, "unsigned": true, - "unit": "W", "options": [ { "label": "Disable", @@ -110,11 +110,11 @@ "#": "11", "label": "Current Change Report Threshold", "valueSize": 1, + "unit": "0.1A", "minValue": 0, "maxValue": 255, "defaultValue": 1, "unsigned": true, - "unit": "0.1A", "options": [ { "label": "Disable", @@ -126,11 +126,11 @@ "#": "12", "label": "Voltage Change Report Threshold", "valueSize": 1, + "unit": "V", "minValue": 0, "maxValue": 255, "defaultValue": 2, "unsigned": true, - "unit": "V", "options": [ { "label": "Disable", @@ -142,11 +142,11 @@ "#": "13", "label": "Energy Reporting Interval", "valueSize": 4, + "unit": "seconds", "minValue": 60, "maxValue": 2678400, "defaultValue": 1800, - "unsigned": true, - "unit": "seconds" + "unsigned": true } ], "metadata": { diff --git a/packages/config/config/devices/0x0438/4512757.json b/packages/config/config/devices/0x0438/4512757.json index 48f19224738d..74e6c8e63267 100644 --- a/packages/config/config/devices/0x0438/4512757.json +++ b/packages/config/config/devices/0x0438/4512757.json @@ -331,9 +331,9 @@ "description": "Allowable range: 5-100 (increment by 5)", "valueSize": 4, "unit": "°C", - "defaultValue": 0, "minValue": 5, "maxValue": 100, + "defaultValue": 0, "unsigned": true }, { @@ -342,9 +342,9 @@ "description": "Allowable range: 10-180 (increment by 10)", "valueSize": 4, "unit": "°C", - "defaultValue": 20, "minValue": 10, "maxValue": 180, + "defaultValue": 20, "unsigned": true }, { @@ -352,10 +352,10 @@ "label": "Frost (Celsius)", "description": "Allowable range: 50-100 (increment by 10)", "valueSize": 4, - "defaultValue": 50, "unit": "0.1 °C", "minValue": 50, "maxValue": 100, + "defaultValue": 50, "unsigned": true }, { @@ -363,10 +363,10 @@ "label": "Frost (Fahrenheit)", "description": "Allowable range: 410-500 (increment by 20)", "valueSize": 4, - "defaultValue": 410, "unit": "0.1 °C", "minValue": 410, "maxValue": 500, + "defaultValue": 410, "unsigned": true }, { @@ -374,10 +374,10 @@ "label": "Dry", "description": "Allowable range: 0-120 (increment by 5)", "valueSize": 4, - "defaultValue": 30, "unit": "minutes", "minValue": 0, "maxValue": 120, + "defaultValue": 30, "unsigned": true }, { @@ -385,10 +385,10 @@ "label": "Floor Limit Temp (Celsius)", "description": "Allowable range: 50-600 (increment by 5)", "valueSize": 4, - "defaultValue": 270, "unit": "0.1 °C", "minValue": 50, "maxValue": 600, + "defaultValue": 270, "unsigned": true }, { @@ -396,10 +396,10 @@ "label": "Floor Limit Temp (Fahrenheit)", "description": "Allowable range: 410-1400 (increment by 10)", "valueSize": 4, - "defaultValue": 810, "unit": "0.1 °C", "minValue": 410, "maxValue": 1400, + "defaultValue": 810, "unsigned": true }, { diff --git a/packages/config/config/devices/0x0438/sr-zv9032a-eu.json b/packages/config/config/devices/0x0438/sr-zv9032a-eu.json index 8dcae3db23b8..0314bbb1682b 100644 --- a/packages/config/config/devices/0x0438/sr-zv9032a-eu.json +++ b/packages/config/config/devices/0x0438/sr-zv9032a-eu.json @@ -29,8 +29,8 @@ { "#": "2", "label": "Battery Change Report Threshold", - "unit": "%", "valueSize": 1, + "unit": "%", "minValue": 1, "maxValue": 50, "defaultValue": 10 diff --git a/packages/config/config/devices/0x044c/myot.json b/packages/config/config/devices/0x044c/myot.json index 427535e3326b..5ca6fd30e8c6 100644 --- a/packages/config/config/devices/0x044c/myot.json +++ b/packages/config/config/devices/0x044c/myot.json @@ -18,32 +18,32 @@ "#": "1", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Maximum Boiler Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "2", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Minimum Boiler Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "3", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Maximum DHW Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "4", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Minimum DHW Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { diff --git a/packages/config/config/devices/0x044c/myot2.json b/packages/config/config/devices/0x044c/myot2.json index 1572fddb4ecf..f71a1347fbc8 100644 --- a/packages/config/config/devices/0x044c/myot2.json +++ b/packages/config/config/devices/0x044c/myot2.json @@ -18,16 +18,16 @@ "#": "1", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Boiler: Maximum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "2", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Boiler: Minimum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { @@ -39,32 +39,32 @@ "#": "3", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Domestic Hot Water: Maximum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "4", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Domestic Hot Water: Minimum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "5", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Cool: Maximum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "6", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Cool: Minimum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { @@ -122,16 +122,16 @@ "#": "51", "$import": "~/templates/master_template.json#base_0-65535", "label": "Battery Voltage Output", - "unit": "0.01 V", "valueSize": 2, + "unit": "0.01 V", "readOnly": true }, { "#": "52", "$import": "~/templates/master_template.json#base_0-65535", "label": "Battery Current Output", - "unit": "0.01 A", "valueSize": 2, + "unit": "0.01 A", "readOnly": true }, { @@ -145,16 +145,16 @@ "#": "61", "$import": "~/templates/master_template.json#base_0-65535", "label": "PV Voltage Output", - "unit": "0.01 V", "valueSize": 2, + "unit": "0.01 V", "readOnly": true }, { "#": "62", "$import": "~/templates/master_template.json#base_0-65535", "label": "PV Current Output", - "unit": "0.01 A", "valueSize": 2, + "unit": "0.01 A", "readOnly": true }, { diff --git a/packages/config/config/devices/0x044c/myot4.json b/packages/config/config/devices/0x044c/myot4.json index 18b7fad1fd61..0172d9f75baf 100644 --- a/packages/config/config/devices/0x044c/myot4.json +++ b/packages/config/config/devices/0x044c/myot4.json @@ -24,16 +24,16 @@ "#": "1", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Heating: Maximum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "2", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Heating: Minimum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { @@ -45,16 +45,16 @@ "#": "3", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Domestic Hot Water: Maximum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { "#": "4", "$import": "~/templates/master_template.json#base_0-100_nounit", "label": "Domestic Hot Water: Minimum Setpoint", - "unit": "°C", "valueSize": 2, + "unit": "°C", "readOnly": true }, { diff --git a/packages/config/config/devices/0x0455/ora-zrx.json b/packages/config/config/devices/0x0455/ora-zrx.json index 4ed49404e804..fd3260675990 100644 --- a/packages/config/config/devices/0x0455/ora-zrx.json +++ b/packages/config/config/devices/0x0455/ora-zrx.json @@ -253,8 +253,8 @@ { "#": "37", "label": "Level Reporting Frequency", - "unit": "seconds", "valueSize": 2, + "unit": "seconds", "minValue": 2, "maxValue": 60, "defaultValue": 5, diff --git a/packages/config/config/devices/0x045a/Z-CM-V01.json b/packages/config/config/devices/0x045a/Z-CM-V01.json index e94dcd50f460..13bf43dfa6f6 100644 --- a/packages/config/config/devices/0x045a/Z-CM-V01.json +++ b/packages/config/config/devices/0x045a/Z-CM-V01.json @@ -166,30 +166,30 @@ "#": "8", "label": "Low Battery Level Alarm Threshold", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 50, "defaultValue": 10, - "unit": "%", "unsigned": true }, { "#": "9", "label": "Battery Report Interval", "valueSize": 4, + "unit": "seconds", "minValue": 0, "maxValue": 2678400, "defaultValue": 3600, - "unit": "seconds", "unsigned": true }, { "#": "10", "label": "Battery Change Report Threshold", "valueSize": 1, + "unit": "%", "minValue": 0, "maxValue": 50, "defaultValue": 5, - "unit": "%", "unsigned": true } ], diff --git a/packages/config/config/devices/0x5254/zds-210na.json b/packages/config/config/devices/0x5254/zds-210na.json index 257863b14cb4..0e965c6f56d3 100644 --- a/packages/config/config/devices/0x5254/zds-210na.json +++ b/packages/config/config/devices/0x5254/zds-210na.json @@ -49,8 +49,8 @@ { "#": "17", "label": "Dimmer time from 0% to max.", - "unit": "seconds", "valueSize": 1, + "unit": "seconds", "minValue": 0, "maxValue": 5, "defaultValue": 3 @@ -58,8 +58,8 @@ { "#": "18", "label": "Maximum Dimmer level control", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 2, "maxValue": 99, "defaultValue": 99 @@ -67,8 +67,8 @@ { "#": "19", "label": "Minimum Dimmer level control", - "unit": "percent", "valueSize": 1, + "unit": "percent", "minValue": 1, "maxValue": 98, "defaultValue": 13 diff --git a/packages/config/config/devices/0x5254/zts-110.json b/packages/config/config/devices/0x5254/zts-110.json index e5fc5df45ef3..0a9dd82dcb80 100644 --- a/packages/config/config/devices/0x5254/zts-110.json +++ b/packages/config/config/devices/0x5254/zts-110.json @@ -56,19 +56,19 @@ "#": "3", "label": "Set Filter Counter", "valueSize": 2, + "unit": "hours", "minValue": 500, "maxValue": 4000, - "defaultValue": 500, - "unit": "hours" + "defaultValue": 500 }, { "#": "4", "label": "Report Filter Counter", "valueSize": 2, + "unit": "hours", "minValue": 0, "maxValue": 9999, "defaultValue": 0, - "unit": "hours", "readOnly": true }, { diff --git a/packages/config/config/devices/0x5254/zts-500.json b/packages/config/config/devices/0x5254/zts-500.json index f3f4d3e50e15..f3873e4ef329 100644 --- a/packages/config/config/devices/0x5254/zts-500.json +++ b/packages/config/config/devices/0x5254/zts-500.json @@ -40,8 +40,8 @@ "#": "2", "label": "Swing", "description": "1=1F/0.5C - 4=4F/2C", - "unit": "1F / 0.5C", "valueSize": 1, + "unit": "1F / 0.5C", "defaultValue": 2, "allowManualEntry": false, "options": [ @@ -67,8 +67,8 @@ "#": "3", "label": "Differential", "description": "1=1F/0.5C - 4=4F/2C", - "unit": "1F/0.5C", "valueSize": 1, + "unit": "1F/0.5C", "defaultValue": 2, "allowManualEntry": false, "options": [ @@ -94,8 +94,8 @@ "#": "4", "label": "Dead Band", "description": "3=3F/1.5C - 6=6F/3C", - "unit": "1F/0.5C", "valueSize": 1, + "unit": "1F/0.5C", "minValue": 3, "maxValue": 6, "defaultValue": 4 @@ -104,8 +104,8 @@ "#": "10", "label": "Temp. Sensor Calibration", "description": "Changes Temp. Display (-10=-10F/-5C - 10=+10F/5C)", - "unit": "1F/0.5C", "valueSize": 1, + "unit": "1F/0.5C", "minValue": -10, "maxValue": 10, "defaultValue": 0 diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 5a63c3103b40..bfdb2359cd12 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -34,6 +34,7 @@ "lint:ts:fix": "yarn run lint:ts --fix" }, "devDependencies": { + "@types/eslint": "^8.44.3", "@typescript-eslint/utils": "^6.7.0", "@zwave-js/core": "workspace:*", "typescript": "5.2.2" diff --git a/packages/eslint-plugin/src/index.ts b/packages/eslint-plugin/src/index.ts index 29cb3a8d0e8c..c99b2cb340d2 100644 --- a/packages/eslint-plugin/src/index.ts +++ b/packages/eslint-plugin/src/index.ts @@ -1,5 +1,6 @@ import { ccAPIValidateArgs } from "./rules/ccapi-validate-args.js"; import { consistentCCClasses } from "./rules/consistent-cc-classes.js"; +import { consistentDeviceConfigPropertyOrder } from "./rules/consistent-device-config-property-order.js"; import { noDebugInTests } from "./rules/no-debug-in-tests.js"; import { noForbiddenImports } from "./rules/no-forbidden-imports.js"; @@ -9,5 +10,7 @@ module.exports = { "ccapi-validate-args": ccAPIValidateArgs, "consistent-cc-classes": consistentCCClasses, "no-forbidden-imports": noForbiddenImports, + "consistent-device-config-property-order": + consistentDeviceConfigPropertyOrder, }, }; diff --git a/packages/eslint-plugin/src/rules/consistent-device-config-property-order.ts b/packages/eslint-plugin/src/rules/consistent-device-config-property-order.ts new file mode 100644 index 000000000000..5825dcff56d9 --- /dev/null +++ b/packages/eslint-plugin/src/rules/consistent-device-config-property-order.ts @@ -0,0 +1,187 @@ +import { type AST as ESLintAST } from "eslint"; +import type { AST } from "jsonc-eslint-parser"; +import { type JSONCRule } from "../utils"; + +const paramInfoPropertyOrder: any[] = [ + "#", + "$if", + "$import", + "label", + "description", + "valueSize", + "unit", + "minValue", + "maxValue", + "defaultValue", + "unsigned", + "readOnly", + "writeOnly", + "allowManualEntry", + "options", +]; + +export const consistentDeviceConfigPropertyOrder: JSONCRule.RuleModule = { + create(context) { + if (!context.parserServices.isJSON) { + return {}; + } + return { + // Ensure consistent ordering of properties in configuration parameters + "JSONProperty[key.value='paramInformation'] > JSONArrayExpression > JSONObjectExpression"( + node: AST.JSONObjectExpression, + ) { + const properties = node.properties.map((p) => { + if (p.key.type !== "JSONLiteral") { + return undefined; + } else { + return [ + paramInfoPropertyOrder.indexOf(p.key.value), + p, + ] as const; + } + }).filter((p): p is [number, AST.JSONProperty] => !!p); + + const isSomePropertyOutOfOrder = properties.some( + ([index], i, arr) => i > 0 && index < arr[i - 1][0], + ); + + if (isSomePropertyOutOfOrder) { + const propsWithComments = properties.map(([index, p]) => { + const comments = context.sourceCode.getComments( + p as any, + ); + return { + index, + property: p, + comments, + }; + }); + + // Eslint considers trailing comments in the same line as a property + // to be a leading comment of the next. We don't want that. + for (let i = 1; i < propsWithComments.length; i++) { + const prev = propsWithComments[i - 1]; + const cur = propsWithComments[i]; + const wronglyAttributedComments = cur.comments.leading + .filter( + (c) => + c.loc?.start.line + === prev.property.loc.end.line, + ); + prev.comments.trailing.push( + ...wronglyAttributedComments, + ); + cur.comments.leading = cur.comments.leading.filter( + (c) => !wronglyAttributedComments.includes(c), + ); + } + + const withRanges = propsWithComments.map((prop) => { + const start = Math.min( + prop.property.range[0], + ...prop.comments.leading.map((c) => c.range![0]), + ); + const end = Math.max( + prop.property.range[1], + ...prop.comments.trailing.map((c) => c.range![1]), + ); + return { + ...prop, + start, + end, + }; + }); + + const indentation = context.sourceCode + .getLines()[withRanges[0].property.loc.start.line]! + .slice( + 0, + withRanges[0].property.loc.start.column, + ); + + const desiredOrder = propsWithComments.toSorted((a, b) => + a.index - b.index + ).map((prop) => { + const start = Math.min( + prop.property.range[0], + ...prop.comments.leading.map((c) => c.range![0]), + ); + const end = Math.max( + prop.property.range[1], + ...prop.comments.trailing.map((c) => c.range![1]), + ); + return { + ...prop, + start, + end, + }; + }); + let desiredText = ""; + for (let i = 0; i < desiredOrder.length; i++) { + const prop = desiredOrder[i]; + if (i > 0) desiredText += "\n" + indentation; + // To include trailing commas where necessary, slice twice: + // 1. From the start of the first comment to the end of the property + // 2. From the end of the property to the end of the last column + const part1 = context.sourceCode.getText().slice( + prop.start, + prop.property.range[1], + ); + let part2 = context.sourceCode.getText().slice( + prop.property.range[1], + prop.end, + ); + desiredText += part1; + if ( + // Needs trailing comma + i < desiredOrder.length - 1 + // and has none + && !part2.startsWith(",") + ) { + desiredText += ","; + } else if ( + // Needs no trailing comma + i === desiredOrder.length - 1 + // but has one + && part2.startsWith(",") + ) { + part2 = part2.slice(1); + } + desiredText += part2; + } + + const replaceRange: ESLintAST.Range = [ + withRanges[0].start, + withRanges.at(-1)!.end, + ]; + + context.report({ + loc: node.loc, + messageId: "parameter-ordering", + fix(fixer) { + return fixer.replaceTextRange( + replaceRange, + desiredText, + ); + }, + }); + return; + } + }, + }; + }, + meta: { + docs: { + description: "foo", + }, + fixable: "code", + schema: [], + messages: { + "parameter-ordering": + `For consistency, config param properties should follow the order ${ + paramInfoPropertyOrder.map((p) => `"${p}"`).join(", ") + }.`, + }, + type: "problem", + }, +}; diff --git a/packages/eslint-plugin/src/utils.ts b/packages/eslint-plugin/src/utils.ts index a01df216c469..0ba866fba827 100644 --- a/packages/eslint-plugin/src/utils.ts +++ b/packages/eslint-plugin/src/utils.ts @@ -4,6 +4,7 @@ import { type TSESTree, } from "@typescript-eslint/utils"; import { CommandClasses } from "@zwave-js/core"; +import { type Rule as ESLintRule } from "eslint"; import path from "node:path"; export const repoRoot = path.normalize( @@ -94,3 +95,18 @@ export function getCCIdFromDecorator( } export type Rule = TSESLint.RuleModule; + +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace JSONCRule { + // Special ESLint rule type for JSONC files + // AST viewer at https://ota-meshi.github.io/jsonc-eslint-parser/ + + export interface RuleListener { + [key: string]: ((node: never) => void) | undefined; + } + export interface RuleModule { + create(context: ESLintRule.RuleContext): RuleListener; + meta?: ESLintRule.RuleMetaData | undefined; + schema?: ESLintRule.RuleMetaData["schema"]; + } +} diff --git a/yarn.lock b/yarn.lock index 9d35284e1ed8..3de9f418aca7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1420,6 +1420,23 @@ __metadata: languageName: node linkType: hard +"@types/eslint@npm:^8.44.3": + version: 8.44.3 + resolution: "@types/eslint@npm:8.44.3" + dependencies: + "@types/estree": "*" + "@types/json-schema": "*" + checksum: 3a0d152785400cb83a887a646d9c8877468e686b6fb439635c64856b70dbe91019e588d2b32bc923cd60642bf5dca7f70b2cf61eb431cf25fbdf2932f6e13dd3 + languageName: node + linkType: hard + +"@types/estree@npm:*": + version: 1.0.2 + resolution: "@types/estree@npm:1.0.2" + checksum: aeedb1b2fe20cbe06f44b99b562bf9703e360bfcdf5bb3d61d248182ee1dd63500f2474e12f098ffe1f5ac3202b43b3e18ec99902d9328d5374f5512fa077e45 + languageName: node + linkType: hard + "@types/fs-extra@npm:^11.0.1": version: 11.0.1 resolution: "@types/fs-extra@npm:11.0.1" @@ -1458,6 +1475,13 @@ __metadata: languageName: node linkType: hard +"@types/json-schema@npm:*": + version: 7.0.13 + resolution: "@types/json-schema@npm:7.0.13" + checksum: 345df21a678fa72fb389f35f33de77833d09d4a142bb2bcb27c18690efa4cf70fc2876e43843cefb3fbdb9fcb12cd3e970a90936df30f53bbee899865ff605ab + languageName: node + linkType: hard + "@types/json-schema@npm:^7.0.12": version: 7.0.12 resolution: "@types/json-schema@npm:7.0.12" @@ -1996,6 +2020,7 @@ __metadata: version: 0.0.0-use.local resolution: "@zwave-js/eslint-plugin@workspace:packages/eslint-plugin" dependencies: + "@types/eslint": ^8.44.3 "@typescript-eslint/utils": ^6.7.0 "@zwave-js/core": "workspace:*" typescript: 5.2.2 @@ -2163,6 +2188,7 @@ __metadata: fs-extra: ^11.1.1 husky: ^8.0.3 json5: ^2.2.3 + jsonc-eslint-parser: ^2.3.0 lint-staged: ^14.0.1 p-queue: ^7.4.1 reflect-metadata: ^0.1.13 @@ -2308,7 +2334,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.5.0, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.10.0 resolution: "acorn@npm:8.10.0" bin: @@ -4159,6 +4185,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 + languageName: node + linkType: hard + "eslint-visitor-keys@npm:^3.3.0": version: 3.3.0 resolution: "eslint-visitor-keys@npm:3.3.0" @@ -4173,13 +4206,6 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.4.3": - version: 3.4.3 - resolution: "eslint-visitor-keys@npm:3.4.3" - checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 - languageName: node - linkType: hard - "eslint@npm:^8.48.0": version: 8.48.0 resolution: "eslint@npm:8.48.0" @@ -4227,25 +4253,25 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0": - version: 9.6.0 - resolution: "espree@npm:9.6.0" +"espree@npm:^9.0.0, espree@npm:^9.6.1": + version: 9.6.1 + resolution: "espree@npm:9.6.1" dependencies: acorn: ^8.9.0 acorn-jsx: ^5.3.2 eslint-visitor-keys: ^3.4.1 - checksum: 1287979510efb052a6a97c73067ea5d0a40701b29adde87bbe2d3eb1667e39ca55e8129e20e2517fed3da570150e7ef470585228459a8f3e3755f45007a1c662 + checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 languageName: node linkType: hard -"espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" +"espree@npm:^9.6.0": + version: 9.6.0 + resolution: "espree@npm:9.6.0" dependencies: acorn: ^8.9.0 acorn-jsx: ^5.3.2 eslint-visitor-keys: ^3.4.1 - checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 + checksum: 1287979510efb052a6a97c73067ea5d0a40701b29adde87bbe2d3eb1667e39ca55e8129e20e2517fed3da570150e7ef470585228459a8f3e3755f45007a1c662 languageName: node linkType: hard @@ -5746,6 +5772,18 @@ __metadata: languageName: node linkType: hard +"jsonc-eslint-parser@npm:^2.3.0": + version: 2.3.0 + resolution: "jsonc-eslint-parser@npm:2.3.0" + dependencies: + acorn: ^8.5.0 + eslint-visitor-keys: ^3.0.0 + espree: ^9.0.0 + semver: ^7.3.5 + checksum: e9343fee870a16f04fdb811b58a9469134c54a03edd58aa5654a888ebae63952cbff3ea3dcad3973465009a275282c6c0dd513e8c3850f7f485a164180085a8b + languageName: node + linkType: hard + "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0"