aiohomekit
aiohomekit copied to clipboard
BLE has a race where a disconnected event is being processed and its unpaired
- disconnected event happens
- unpair gets the lock
- disconnected event gets the lock
- disconnected event throws all kinds of errors
This one is harder to fix. will likely need a flag to tell if the pairing is active