Skip to content

Commit

Permalink
fix(config): update config file fromat
Browse files Browse the repository at this point in the history
fix(config): update config file fromat
  • Loading branch information
xuexiaofei authored Oct 24, 2024
1 parent 1921a9a commit cb82401
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions packages/config/config/devices/0x045a/WM25L.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{
"#": "1",
"label": "Enable Manual Pull-Start",
"description": "Enable Manual Pull-Start",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
Expand All @@ -53,6 +54,7 @@
{
"#": "2",
"label": "Set Motor Direction",
"description": "Set Motor Direction",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
Expand All @@ -70,6 +72,7 @@
{
"#": "3",
"label": "Manually Set Open Borders",
"description": "Manually Set Open Borders",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
Expand All @@ -87,6 +90,7 @@
{
"#": "4",
"label": "Manually Set Close Borders",
"description": "Manually Set Close Borders",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
Expand All @@ -104,6 +108,7 @@
{
"#": "5",
"label": "Set Motor Status",
"description": "Set Motor Status",
"valueSize": 1,
"defaultValue": 3,
"allowManualEntry": false,
Expand All @@ -125,6 +130,7 @@
{
"#": "6",
"label": "Calibrate Travel Point",
"description": "Calibrate Travel Point",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
Expand All @@ -146,6 +152,7 @@
{
"#": "7",
"label": "Delete Travel Point",
"description": "Delete Travel Point",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
Expand All @@ -171,33 +178,40 @@
{
"#": "8",
"label": "Low Battery Level Alarm Threshold",
"description": "Low Battery Level Alarm Threshold",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 50,
"defaultValue": 10
"defaultValue": 10,
"unsigned": true

Check failure on line 187 in packages/config/config/devices/0x045a/WM25L.json

View workflow job for this annotation

GitHub Actions / lint-zwave (18)

Defining this parameter as unsigned is unnecessary
},
{
"#": "9",
"label": "Battery Auto Report Interval Time",
"description": "Battery Auto Report Interval Time",
"valueSize": 4,
"unit": "seconds",
"minValue": 0,
"maxValue": 2678400,
"defaultValue": 3600
"defaultValue": 3600,
"unsigned": true

Check failure on line 198 in packages/config/config/devices/0x045a/WM25L.json

View workflow job for this annotation

GitHub Actions / lint-zwave (18)

Defining this parameter as unsigned is unnecessary
},
{
"#": "10",
"label": "Battery Change Report Threshold",
"description": "Battery Change Report Threshold",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 50,
"defaultValue": 5
"defaultValue": 5,
"unsigned": true

Check failure on line 209 in packages/config/config/devices/0x045a/WM25L.json

View workflow job for this annotation

GitHub Actions / lint-zwave (18)

Defining this parameter as unsigned is unnecessary
},
{
"#": "11",
"label": "Curtain Status Report Command Setting",
"description": "Curtain Status Report Command Setting",
"valueSize": 1,
"defaultValue": 6,
"allowManualEntry": false,
Expand Down

0 comments on commit cb82401

Please sign in to comment.