You have to make a personalized presentation and in the details view put the capabilities you want to see in the dashboard.
- The Capability of the main group is the one that controls the status of the icon
- You have to give the groups name you want for the states
- For switch actions you have to use the same group name.
This is the example of the json file to create a multi-tile VID of a component with 3 switches
{
"dashboard": {
"states": [
{
"component": "main",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "main",
"values": [],
"composite": true
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-2",
"values": [],
"composite": true
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-3",
"values": [],
"composite": true
}
],
"actions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "main"
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-2"
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-3"
}
]
},
"detailView": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
}
],
"automation": {
"conditions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
}
],
"actions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
}
]
},
"type": "profile"
}