Hello,
currently I work on device configuration in JSON file on UI display tab.
I have done a view of supported devices. It looks like I expected, but I am not able to adjust JSON properties to operate on airConditionerFanMode and airConditionerMode device types.
As you can see the action icons displayed on my screenshot don’t allow me to change capabilities’ state.
Here is JSON file:
{
"mnmn": "0AUQ",
"vid": "SAC16",
"version": "0.0.1",
"type": "profile",
"dashboard": {
"states": [
{
"component": "main",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "main",
"composite": false
},
{
"component": "main",
"capability": "temperatureMeasurement",
"version": 1,
"idx": 0,
"group": "temperature",
"composite": false
},
{
"component": "main",
"capability": "airConditionerFanMode",
"version": 1,
"idx": 0,
"group": "FanMode",
"composite": false
},
{
"component": "main",
"capability": "airConditionerMode",
"version": 1,
"idx": 0,
"group": "mode",
"composite": false
}
],
"actions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
}
],
"basicPlus": []
},
"detailView": [
{
"component": "main",
"capability": "switch",
"version": 1,
"label": "switch Status",
"displayType": "switch"
},
{
"component": "main",
"capability": "temperatureMeasurement",
"version": 1,
"label": "temperatureMeasurement Status",
"displayType": "state",
"state": {
"label": "{{temperature.value}}",
"unit": "temperature.unit"
}
},
{
"capability": "airConditionerFanMode",
"version": 1,
"label": "airConditionerFanMode Status",
"displayType": "list",
"list": {
"state": {
"value": "fanMode.value",
"valueType": "string",
"alternatives": [
{
"key": "high",
"value": "High mode",
"type": "active"
},
{
"key": "auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "low",
"value": "Low mode",
"type": "active"
},
{
"key": "mid",
"value": "Mid mode",
"type": "active"
}
]
}
},
"state": null,
"component": "main"
},
{
"capability": "airConditionerMode",
"version": 1,
"label": "airConditionerMode Status",
"displayType": "list",
"list": {
"state": {
"value": "airConditionerMode.value",
"valueType": "string",
"alternatives": [
{
"key": "auto",
"value": "Auto mode"
},
{
"key": "heatStorage",
"value": "HeatStorage mode"
},
{
"key": "cool",
"value": "Cool mode"
},
{
"key": "fan",
"value": "Fan mode"
},
{
"key": "heat",
"value": "Heat mode"
},
{
"key": "coolStorage",
"value": "CoolStorage mode"
},
{
"key": "heatstr",
"value": "Heatstr mode"
},
{
"key": "dry",
"value": "Dry mode"
},
{
"key": "none",
"value": "None mode"
}
]
}
},
"state": null,
"component": "main"
}
],
"automation": {
"conditions": [
{
"capability": "airConditionerFanMode",
"version": 1,
"label": "airConditionerFanMode Status",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "high",
"value": "High mode",
"type": "active"
},
{
"key": "auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "low",
"value": "Low mode",
"type": "active"
},
{
"key": "mid",
"value": "Mid mode",
"type": "active"
}
],
"value": "fanMode.value",
"valueType": "string"
},
"exclusion": [],
"component": "main"
},
{
"capability": "airConditionerMode",
"version": 1,
"label": "airConditionerMode Status",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "auto",
"value": "Auto mode"
},
{
"key": "heatStorage",
"value": "HeatStorage mode"
},
{
"key": "cool",
"value": "Cool mode"
},
{
"key": "fan",
"value": "Fan mode"
},
{
"key": "heat",
"value": "Heat mode"
},
{
"key": "coolStorage",
"value": "CoolStorage mode"
},
{
"key": "heatstr",
"value": "Heatstr mode"
},
{
"key": "dry",
"value": "Dry mode"
},
{
"key": "none",
"value": "None mode"
}
],
"value": "airConditionerMode.value",
"valueType": "string"
},
"exclusion": [],
"component": "main"
}
],
"actions": [
{
"capability": "airConditionerMode",
"version": 1,
"label": "airConditionerMode Status",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "auto",
"value": "Auto mode"
},
{
"key": "heatStorage",
"value": "HeatStorage mode"
},
{
"key": "cool",
"value": "Cool mode"
},
{
"key": "fan",
"value": "Fan mode"
},
{
"key": "heat",
"value": "Heat mode"
},
{
"key": "coolStorage",
"value": "CoolStorage mode"
},
{
"key": "heatstr",
"value": "Heatstr mode"
},
{
"key": "dry",
"value": "Dry mode"
},
{
"key": "none",
"value": "None mode"
}
],
"value": "airConditionerMode.value",
"valueType": "string"
},
"exclusion": [],
"component": "main"
},
{
"capability": "airConditionerFanMode",
"version": 1,
"label": "airConditionerFanMode Status",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "high",
"value": "High mode",
"type": "active"
},
{
"key": "auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "low",
"value": "Low mode",
"type": "active"
},
{
"key": "mid",
"value": "Mid mode",
"type": "active"
}
],
"value": "fanMode.value",
"valueType": "string"
},
"exclusion": [],
"component": "main"
}
]
},
"migration": true,
"isAutoUpdateRequired": true
}
Could you explain what can I fix?