While working on config parameter support, we noticed that all values that have a property key don't always have a property key name. This means that partial parameters are probably not working as expected:
{
"commandClassName": "Configuration",
"commandClass": 112,
"endpoint": 0,
"property": 101,
"propertyKey": 1,
"propertyName": "Group 1: Send battery reports",
"metadata": {
"type": "number",
"readable": true,
"writeable": true,
"valueSize": 4,
"min": 0,
"max": 1,
"default": 1,
"format": 0,
"allowManualEntry": true,
"label": "Group 1: Send battery reports",
"description": "Include battery information in periodic reports to Group 1",
"isFromConfig": true
},
"value": 1
},
{
"commandClassName": "Configuration",
"commandClass": 112,
"endpoint": 0,
"property": 101,
"propertyKey": 16,
"propertyName": "Group 1: Send ultraviolet reports",
"metadata": {
"type": "number",
"readable": true,
"writeable": true,
"valueSize": 4,
"min": 0,
"max": 1,
"default": 1,
"format": 0,
"allowManualEntry": true,
"label": "Group 1: Send ultraviolet reports",
"description": "Include ultraviolet information in periodic reports to Group 1",
"isFromConfig": true
},
"value": 1
},
{
"commandClassName": "Configuration",
"commandClass": 112,
"endpoint": 0,
"property": 101,
"propertyKey": 32,
"propertyName": "Group 1: Send temperature reports",
"metadata": {
"type": "number",
"readable": true,
"writeable": true,
"valueSize": 4,
"min": 0,
"max": 1,
"default": 1,
"format": 0,
"allowManualEntry": true,
"label": "Group 1: Send temperature reports",
"description": "Include temperature information in periodic reports to Group 1",
"isFromConfig": true
},
"value": 1
},
{
"commandClassName": "Configuration",
"commandClass": 112,
"endpoint": 0,
"property": 101,
"propertyKey": 64,
"propertyName": "Group 1: Send humidity reports",
"metadata": {
"type": "number",
"readable": true,
"writeable": true,
"valueSize": 4,
"min": 0,
"max": 1,
"default": 1,
"format": 0,
"allowManualEntry": true,
"label": "Group 1: Send humidity reports",
"description": "Include humidity information in periodic reports to Group 1",
"isFromConfig": true
},
"value": 1
},
{
"commandClassName": "Configuration",
"commandClass": 112,
"endpoint": 0,
"property": 101,
"propertyKey": 128,
"propertyName": "Group 1: Send luminance reports",
"metadata": {
"type": "number",
"readable": true,
"writeable": true,
"valueSize": 4,
"min": 0,
"max": 1,
"default": 1,
"format": 0,
"allowManualEntry": true,
"label": "Group 1: Send luminance reports",
"description": "Include luminance information in periodic reports to Group 1",
"isFromConfig": true
},
"value": 1
}
What's the best way to approach this problem? I originally thought using property key instead of property key name in the value ID will solve the problem, but that eliminates the user friendliness of using names for platforms like climate, where we can use setpoint names.