There is an unpair button in the HomeKit Accessory Simulator. When you unpair an accessory, it seems that the accessory stays in your HomeKit database in the home that it was previously assigned. I would like to add a process to either remove the accessory from the database, or re-pair the accessory.
Is there any delegate method called when an accessory is unpaired?
Is there a way to test if previously discovered accessories are currently paired? I'm looking for something specifically related to pairing - the
isReachable
property is too generic.Is there a way to repair the accessory? After calling the
addAccessory
method on the home, I receive an error since the accessory is already in the home - just not paired with the device.