What is the best way to add a new capability to an app device when it comes to versioning?
My initial testing shows that adding a capability does not break the current device or flows. But the code with result in an exception trying to set the new capability before the user removes the old device and adds it again.
Are there any best practices when it comes to this? Any way to add a capability without the user having to remove/add the device? Some kind of migration?
Yes, you need to check for it’s existence first, because adding/removing capabilities is not a cheap operation. But it is very useful for upgrades indeed. Wish Athom would do the same with the tado test version