I noticed in a diagnostics report for my own app HomeKitty that your app is changing devices quite often, which I traced down to calls being made to setCapabilityOptions (for example here).
According to the documentation, this is an expensive operation so should only be called when needed 😊 It looks like you can make those calls to the device's onInit instead of with every status update.
I noticed in a diagnostics report for my own app HomeKitty that your app is changing devices quite often, which I traced down to calls being made to
setCapabilityOptions
(for example here).According to the documentation, this is an expensive operation so should only be called when needed 😊 It looks like you can make those calls to the device's
onInit
instead of with every status update.