How to update a capability's version?

Hi, All:
As mentioned in the title, how to upgrade a capability‘s version? When the capability function has been modified a little bit, wouldn’t it be better if only the version is used to control it without creating a new capability? But I tried many ways, the version is always “1”.

Tagging @nayelyz

Up to now, we cannot create multiple versions for the capability’s presentation.
If the presentation changes, you can use the command below and the changes would be applied in the automatic refresh or when you regenerate the device-config.

smartthings capabilities:presentation:update {{capability-id}} 1 -i capabilityPresentation.json

Make sure these changes are effective by querying your device presentation:

smartthings presentation {{vid}}

Thanks, @Andremain!

1 Like