thanks. I am following the instructions to create a simple button for my DTH.
I get tve VID and MNMN returning from the last command and put them in my definition on the groovy file. Then I re-publish the DTH. But nothing happens.
I don’t see the added button.
The json returned from the cli command is :
cli-win.exe presentation:device-config:create -j -i deviceConfig.json
{
"type": "dth",
"iconUrl": null,
"dashboard": {
"states": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
}
],
"actions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
}
]
},
"detailView": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
},
{
"component": "main",
"capability": "presenceSensor",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
},
{
"component": "main",
"capability": "faithboard04631.androidTv",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
}
],
"automation": {
"conditions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
},
{
"component": "main",
"capability": "presenceSensor",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
}
],
"actions": [
{
"component": "main",
"capability": "switch",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
},
{
"component": "main",
"capability": "presenceSensor",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
},
{
"component": "main",
"capability": "faithboard04631.androidTv",
"version": 1,
"values": [],
"patch": [],
"visibleCondition": null
}
]
},
"presentationId": "99b7ec65-c4e8-3ea8-9807-af89de784b15",
"manufacturerName": "SmartThingsCommunity",
"vid": "99b7ec65-c4e8-3ea8-9807-af89de784b15",
"mnmn": "SmartThingsCommunity"
}
what may be the problem ?