-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stability and performance clean-ups (#358)
* (fix) crash when scanner object is not populated * Clean up handler for device registry changes - Hopefully fixes Device slow / crashes when renaming a device #341 - Avoids multiple sequential calls to updates on scanners and private ble devices, instead filters DR event to work out type of change. Hopefully reduces the changes of getting into race conditions from multiple async updates. - Switch to async_refresh on state change, as first_refresh likely to cause issues. - Moved to single device_registry, entity registry in coordinator. * linting
- Loading branch information
Showing
2 changed files
with
72 additions
and
23 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