This post has the steps to create a Custom Capability:
You can take my configuration and use it as input for the commands, for example, to create the capability:
smartthings capabilities:create -j -i customCapability.json
And, yeah, you would need to remove the capability “thermostatMode” and replace it with the new one. (this will require a new VID as the capabilities list has changed)
It wouldn’t cause a conflict because the SmartApp makes reference to the attribute name and the new one can use the same value.
The custom capability and removal of the supportedThermostatModesevent should solve this issue.
Adding the new lines in the on/off functions, the switch value keeps changing as before?
The migration was the fastest way to make this integration work.
It’s not official the remaining time for the Groovy IDE tool. However, you start learning about the recent tools and the Developer Workspace.
This would be a cloud-connected device and I think it would be better to use a SmartApp Connector to create it.