-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect service and device UUID mismatches (#72)
* Detect service and device UUID mismatches This patch introduces a new validation stage to the Device connection flow where the UUID in the Service object used to initialize the device is validated against the UUID received in the initial device properties query. If the UUIDs do not match, the connection is closed and an exception is set on the run future and any "wait for available" coroutines. This feature required a fairly big rework of internal device connection logic, but the basic design remains the same. Additional tests cover the new functionality. See home-assistant/core#98784 * Update aiobafi6/device.py Co-authored-by: J. Nick Koston <[email protected]> * Update aiobafi6/device.py Co-authored-by: J. Nick Koston <[email protected]> --------- Co-authored-by: J. Nick Koston <[email protected]>
- Loading branch information
Showing
4 changed files
with
143 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.