Skip to content

Commit

Permalink
Lint Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aweddell committed Nov 13, 2024
1 parent 302a749 commit 699a306
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions packages/config/config/devices/0x0330/homemech-200X.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,19 @@
{
"#": "3",
"$import": "~/templates/master_template.json#base_enable_disable",
"label": "Send Basic report to the Lifeline When the Load State Changed",
"label": "Send Basic report To The Lifeline When The Load State Changes",

Check failure on line 41 in packages/config/config/devices/0x0330/homemech-200X.json

View workflow job for this annotation

GitHub Actions / lint-zwave (18)

Param labels must be in Title Case
"description": "When value set as 1, repower on the dimmer, it will send Basic report automatically",
"defaultValue": 1
},
{
"#": "4",
"label": "Default Fade Time",
"description": "Duration dimmer will take to reach requested level. This value has the same function as Duration of Multilevel",
"defaultValue": 1,
"unit": "seconds",
"unsigned": true,
"valueSize": 1,
"unit": "seconds",
"minValue": 0,
"maxValue": 127,
"defaultValue": 1,
"options": [
{
"label": "Dimmer default",
Expand All @@ -67,12 +66,11 @@
"#": "5",
"label": "Minimum Brightness",
"description": "Valid value: 0~50, the bigger the value is, the higher the load’s minimum brightness is",
"defaultValue": 15,
"unit": "%",
"unsigned": true,
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 50,
"defaultValue": 15,
"options": [
{
"label": "Dimmer default",
Expand All @@ -84,12 +82,11 @@
"#": "6",
"label": "Maximim Brightness",
"description": "Valid value: 0~100, the bigger the value is, the higher the load’s maximum brightness is",
"defaultValue": 100,
"unit": "%",
"unsigned": true,
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 100,
"options": [
{
"label": "Dimmer default",
Expand Down Expand Up @@ -132,18 +129,17 @@
"description": "When power changes above the absolute threshold, immediately report current power value",
"valueSize": 2,
"unit": "W",
"unsigned": true,
"minValue": 0,
"maxValue": 360,
"defaultValue": 10

},
{
"#": "15",
"label": "Power Change Report Threshold Percentage",
"description": "When power changes above the absolute threshold, immediately report current power value",
"valueSize": 1,
"unit": "%",
"unsigned": true,
"minValue": 0,
"maxValue": 100,
"defaultValue": 20
Expand All @@ -153,7 +149,6 @@
"label": "Power Metering Report Interval",
"valueSize": 4,
"unit": "seconds",
"unsigned": true,
"minValue": 0,
"maxValue": 2678400,
"defaultValue": 600,
Expand All @@ -169,7 +164,6 @@
"label": "Energy Metering Report Interval",
"valueSize": 4,
"unit": "seconds",
"unsigned": true,
"minValue": 0,
"maxValue": 2678400,
"defaultValue": 1800,
Expand All @@ -185,7 +179,6 @@
"label": "Voltage Metering Report Interval",
"valueSize": 4,
"unit": "seconds",
"unsigned": true,
"minValue": 0,
"maxValue": 2678400,
"defaultValue": 3600,
Expand All @@ -201,7 +194,6 @@
"label": "Current Metering Report Interval",
"valueSize": 4,
"unit": "seconds",
"unsigned": true,
"minValue": 0,
"maxValue": 2678400,
"defaultValue": 3600,
Expand Down

0 comments on commit 699a306

Please sign in to comment.