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

Bump bluetooth-auto-recovery to 1.0.0 #83800

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Dec 12, 2022

Proposed change

changelog: Bluetooth-Devices/bluetooth-auto-recovery@v0.5.5...v1.0.0

fixes #83673

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
  • Untested files have been added to .coveragerc.

To help with the load of incoming pull requests:

@bdraco
Copy link
Member Author

bdraco commented Dec 12, 2022

Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.759 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Scanner watchdog time_since_last_detection: 96.98756698297802
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.759 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Bluetooth scanner has gone quiet for 90s, restarting
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.759 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Stopping bluetooth discovery
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.764 ERROR (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Error stopping scanner: [org.bluez.Error.NotReady] Resource Not Ready
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.768 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Starting bluetooth discovery attempt: (1/3)
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.769 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): adapter stopped responding; executing reset
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.769 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 00:1A:7D:DA:71:13
Dec 12 04:05:45 homeassistant homeassistant[452]: 2022-12-11 18:05:45.774 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to power cycle bluetooth adapter hci0 [00:1A:7D:DA:71:13]
Dec 12 04:05:46 homeassistant homeassistant[452]: 2022-12-11 18:05:45.999 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:1A:7D:DA:71:13] successfully turned back ON
Dec 12 04:05:47 homeassistant homeassistant[452]: 2022-12-11 18:05:47.004 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): adapter reset result: True
Dec 12 04:05:47 homeassistant homeassistant[452]: 2022-12-11 18:05:47.004 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (00:1A:7D:DA:71:13): Starting bluetooth discovery attempt: (2/3)
Dec 12 04:05:47 homeassistant homeassistant[452]: 2022-12-11 18:05:47.012 DEBUG (MainThread) [bleak_retry_connector] Restored 7 discoveries for hci0

😄

@bdraco bdraco marked this pull request as ready for review December 12, 2022 04:06
Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

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

Thanks, @bdraco 👍

@frenck frenck merged commit 876258e into home-assistant:dev Dec 12, 2022
@bdraco
Copy link
Member Author

bdraco commented Dec 12, 2022

Thanks

balloob pushed a commit that referenced this pull request Dec 12, 2022
This was referenced Dec 12, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bluetooth crashes with [org.bluez.Error.NotReady] Resource Not Ready
3 participants