Questions on Capability, DTH and DTH Publish

@orangebucket
Thank you so much for answering.
As expected, the answer to the First question… is still impossible. Well I understood.

It’s cumbersome, but you said you didn’t understand well, so I’ll tell you the second question in more detail.

After processing Create New DTH in IDE, when we enter the following cli using the ID of the DTH, we get deviceConfig.json, right?

CLI:
$ smartthings presentation:device-config:generate “SECRET_ID” --dth -j -o=deviceConfig.json

deviceConfig.json

{
"type": "dth",
"dashboard": {
    "states": [
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": " TOP_SECRET_CAPABILITY1",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": " TOP_SECRET_CAPABILITY2",
            "version": 1,
            "values": [],
            "patch": []
        }
    ],
    "actions": [
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": " TOP_SECRET_CAPABILITY1",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": " TOP_SECRET_CAPABILITY2",
            "version": 1,
            "values": [],
            "patch": []
        }
    ]
},
"detailView": [
    {
        "component": "main",
        "capability": "switch",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": " TOP_SECRET_CAPABILITY1",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": " TOP_SECRET_CAPABILITY2",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": " TOP_SECRET_CAPABILITY3",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": " TOP_SECRET_CAPABILITY4",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": " TOP_SECRET_CAPABILITY5",
        "version": 1,
        "values": [],
        "patch": []
    },
    {
        "component": "main",
        "capability": "TOP_SECRET_CAPABILITY6",
        "version": 1,
        "values": [],
        "patch": []
    }
],
"automation": {
    "conditions": [
        {
            .....
        }
    ]
}

}

You don’t need to read all deviceConfig.json! Below is an estimate of the results.

If you use the following command using this deviceConfig.json file, a vvid appears, and then applying this vvid to DTH creates the UI we want to create, right?

$ smartthings presentation:device-config:create -j -i=deviceConfig.json

But what I want to do is make it like this. (Bringing capabilities into components)

image

For this, you just need to set component for each capability of deviceConfig.json, right?
When I did that, the question was no. Is there any way to do this? What am I missing?

Waiting for your answer, I will work hard to develop it… Thank you