/drivers/<driver_id>/driver.compose.json
. However devices that have already been paired do not automatically receive the new capability. To prevent users of your app from having to re-pair their devices to get the new functionality you can call Device#addCapability()
to dynamically add the capability to already-paired devices.Device#removeCapability()
. You should only do this when it is no longer possible to implement the capabilities behaviour."deprecated": true
flag. This will ensure that users who create new Flows will not have the option to select this Flow card anymore, but users who still have this Flow card as part of their Flows will not experience breaking Flows. When this Flow card is deprecated you can create a new Flow card with the updated functionality that replaces the deprecated one.Device#setClass()
method is available to do so."deprecated": true
flag to your driver manifest. Deprecating a driver will ensure that devices that have already been paired will continue to function but the driver cannot be selected to pair new devices with.