Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unexpected disconnects by retrying up to 2 times #37

Merged
merged 1 commit into from
May 1, 2024

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented May 1, 2024

Retry up to 2 more times if the first update fails due to a BleakError (which may be because of a disconnect in progress) or unexpected disconnect

fixes home-assistant/core#113610

@bdraco bdraco marked this pull request as ready for review May 1, 2024 19:54
Copy link
Member

@LaStrada LaStrada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@LaStrada LaStrada merged commit 366e704 into Airthings:main May 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Airthings-ble becomes flaky with HA Core > 2024.1.5
2 participants