UI Displaying in Dashboard / Detailview

@nayelyz

I have used this example and I have made my first dashboard using composite definition.

My composite dashboard operates in my.smartthings but not in Android SmartThings App.

Dashboard in my.smartthings
virtual-Energy-device_my_smartthings_com

In ST App only this message

My dashboard definition

{
    "mnmn": "SmartThingsCommunity",
    "vid": "b9edcbcd-b6dc-354c-bbdd-5282b37a5191",
    "version": "0.0.1",
    "dashboard": {
        "states": [
            {
                "label": "{{switch.value}}",
                "alternatives": [
                    {
                        "key": "on",
                        "value": "___PO_CODE_CAPABILITY.SMARTTHINGS.SWITCH_DEFAULT_ATTRIBUTES_SWITCH_ON",
                        "type": "active"
                    },
                    {
                        "key": "off",
                        "value": "___PO_CODE_CAPABILITY.SMARTTHINGS.SWITCH_DEFAULT_ATTRIBUTES_SWITCH_OFF",
                        "type": "inactive"
                    }
                ],
                "capability": "switch",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "main",
                "transient": false
            },
            {
                "label": "{{energy.value}} {{energy.unit}}",
                "capability": "energyMeter",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "energy",
                "transient": false
            },
            {
                "label": "{{power.value}} {{power.unit}}",
                "capability": "powerMeter",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "power",
                "transient": false
            }
        ],
        "actions": [
            {
                "displayType": "standbyPowerSwitch",
                "standbyPowerSwitch": {
                    "command": {
                        "on": "on",
                        "off": "off"
                    },
                    "state": {
                        "value": "switch.value",
                        "on": "on",
                        "off": "off"
                    }
                },
                "group": "main",
                "capability": "switch",
                "version": 1,
                "component": "main"
            }
        ],
        "basicPlus": []
    },

What am I doing wrong or is this composite problem common to Android SmartThings App newest version Version 1.8.17.22 (June ‘24)?