I’m stumbling through creating a custom device for media handling, and I’m stuck at the deviceConfig.json
. I have the following value for my "detailView"
property, but the UI in the ST App doesn’t reflect all of the capabilities I have defined:
"detailView": [{
"component": "main",
"capability": "switch",
"version": 1,
"values": []
},
{
"component": "main",
"capability": "audioMute",
"version": 1,
"values": []
},
{
"component": "main",
"capability": "audioVolume",
"version": 1,
"values": [{
"key": "volume.value",
"range": [
0,
100
],
"step": 1
}],
"group": "Volume"
},
{
"component": "main",
"capability": "mediaInputSource",
"version": 1,
"values": [],
"group": "Input Source"
}
],
And here is how it is showing up in ST App
The audioMute
capability isn’t even showing up, and the Volume/inputSource both have (!) in their presentation. The only capability that is working correctly is the switch.
I have verified that the capabilities are being initialized on the device logs (I (1671745585:266) [IoT]: iot_cap_call_init_cb(1105) > Call init_cb for audioVolume capability
for example), why aren’t they showing up correctly in the app?