Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): add Bulk Set Parameter to Inovelli Switches for LED Notifications #7451

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 81 additions & 77 deletions packages/config/config/devices/0x031e/lzw30-sn.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,83 +208,8 @@
]
},
{
"#": "9",
"label": "LED Strip Timeout",
"valueSize": 1,
"unit": "seconds",
"minValue": 0,
"maxValue": 10,
"defaultValue": 0,
"options": [
{
"label": "Stay off",
"value": 0
}
]
},
{
"#": "10",
"label": "Active Power Reports",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 10
},
{
"#": "11",
"label": "Periodic Power & Energy Reports",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 32767,
"defaultValue": 3600
},
{
"#": "12",
"label": "Energy Reports",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 10
},
{
"#": "13",
"$if": "firmwareVersion >= 1.17",
"label": "Load Type",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Automatically detect load type",
"value": 0
},
{
"label": "Manually set for special load type",
"value": 1
}
]
},
{
"#": "51",
"$if": "firmwareVersion >= 1.19",
"label": "Instant On",
"description": "Enabling this disables the 700ms button delay and multi-tap scenes.",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Enabled",
"value": 0
},
{
"label": "Disabled",
"value": 1
}
]
"#": "8",
"$import": "templates/inovelli_templates.json#bulk_set_led_effect"
},
{
"#": "8[0xff]",
Expand Down Expand Up @@ -421,6 +346,85 @@
"value": 4
}
]
},
{
"#": "9",
"label": "LED Strip Timeout",
"valueSize": 1,
"unit": "seconds",
"minValue": 0,
"maxValue": 10,
"defaultValue": 0,
"options": [
{
"label": "Stay off",
"value": 0
}
]
},
{
"#": "10",
"label": "Active Power Reports",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 10
},
{
"#": "11",
"label": "Periodic Power & Energy Reports",
"valueSize": 2,
"unit": "seconds",
"minValue": 0,
"maxValue": 32767,
"defaultValue": 3600
},
{
"#": "12",
"label": "Energy Reports",
"valueSize": 1,
"unit": "%",
"minValue": 0,
"maxValue": 100,
"defaultValue": 10
},
{
"#": "13",
"$if": "firmwareVersion >= 1.17",
"label": "Load Type",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Automatically detect load type",
"value": 0
},
{
"label": "Manually set for special load type",
"value": 1
}
]
},
{
"#": "51",
"$if": "firmwareVersion >= 1.19",
"label": "Instant On",
"description": "Enabling this disables the 700ms button delay and multi-tap scenes.",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Enabled",
"value": 0
},
{
"label": "Disabled",
"value": 1
}
]
}
],
"metadata": {
Expand Down
6 changes: 4 additions & 2 deletions packages/config/config/devices/0x031e/lzw31-sn.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,15 @@
"label": "LED Indicator: Brightness When Off",
"defaultValue": 1
},
{
"#": "16",
"$import": "templates/inovelli_templates.json#bulk_set_led_effect"
},
{
"#": "16[0xff]",
"$import": "#paramInformation/13",
"label": "LED Indicator: Effect Color",
"valueSize": 4,
"minValue": 0,
"maxValue": 255,
"defaultValue": 0,
"unsigned": true,
"options": [
Expand Down
Loading
Loading