You have to make a VID presentation with the different groups that you want to present in the dashdoard.
Up to 5 groups can be presented, the main one and another 4 with the names that you write.
The main group is the one that controls the state of the icon.
Only If the capabilities have action buttons to show then need write the capabilities dashboard actions
this is an example of .json with 4 switches and a custom capabiliy that manages all the switches at the same time
{
"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
},
{
"component": "switch4",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-4",
"values": [],
"composite": true
},
{
"component": "main",
"capability": "legendabsolute60149.switchAllOnOff1",
"version": 1,
"idx": 0,
"group": "All Switches On-Off",
"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"
},
{
"component": "switch4",
"capability": "switch",
"version": 1,
"idx": 0,
"group": "Switch-4"
},
{
"component": "main",
"capability": "legendabsolute60149.switchAllOnOff1",
"version": 1,
"idx": 0,
"group": "All Switches On-Off"
}
]
},
"detailView": [
{
"component": "main",
"capability": "legendabsolute60149.switchAllOnOff1",
"version": 1,
"values": [],
"patch": []
},
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
},
{
"component": "switch2",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
},
{
"component": "switch3",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
},
{
"component": "switch4",
"capability": "switch",
"version": 1,
"values": [],
"patch": []
}
],
"automation": {
"conditions": [
{
"component": "main",
"capability": "legendabsolute60149.switchAllOnOff1",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"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": []
},
{
"component": "switch4",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
}
],
"actions": [
{
"component": "main",
"capability": "legendabsolute60149.switchAllOnOff1",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"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": []
},
{
"component": "switch4",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
}
]
},
"type": "profile"
}