Custom Capability and CLI Developer Preview

You can definitely show more than one state in the dashboard view, and, last time I checked the icon reacted to the first state configured.
You can display different states in the dashboard by separating them into groups.
For example:

"dashboard": {
    "states": [
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "group": "main", 
            "values": []
        },
        {
            "component": "main",
            "capability": "customCapabilityName",
            "version": 1,
            "group": "Numeric Value",
            "values": []
        }
    ]
    ...
}

Remember the text in group will identify which capabilities belong to the same one and it’s the text that will be displayed as their title.
I remember that changes to that text weren’t considered a modification in the presentation, so be careful with them and put the right name to avoid issues

2 Likes