home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.95k stars 31k forks source link

Bluetooth integration does not load after update to 2024.8.2 #124140

Open 9sjklijfd93 opened 3 months ago

9sjklijfd93 commented 3 months ago

The problem

The default bluetooth integration is stuck in a loop initializing on my Home Assistant Yellow/RPi4 after upgrading to 2024.8.2. If I restore from backup to 2024.7.4 the integration loads fine again.

The device is "Raspberry Pi Trading Ltd bcm43438-bt"

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2024.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bluetooth

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log details (WARNING)

Logger: bluetooth_auto_recovery.recover
Source: config_entries.py:604
First occurred: 4:37:36 PM (45 occurrences)
Last logged: 5:40:09 PM

Could not determine the power state of the Bluetooth adapter hci0 [E4:5F:01:xx:xx:xx] due to timeout after 5 seconds
Could not reset the power state of the Bluetooth adapter hci0 [E4:5F:01:xx:xx:xx] due to timeout after 5 seconds
Closing Bluetooth adapter hci0 [E4:5F:01:xx:xx:xx] failed: [Errno 9] Bad file descriptor

Logger: bluetooth_auto_recovery.recover
Source: components/bluetooth/__init__.py:328
First occurred: 4:37:57 PM (17 occurrences)
Last logged: 6:12:42 PM

Could not cycle the Bluetooth adapter hci0 [E4:5F:01:xx:xx:xx]: [Errno 110] Operation timed out

Logger: bluetooth_auto_recovery.recover
Source: runner.py:190
First occurred: 4:37:57 PM (17 occurrences)
Last logged: 6:12:42 PM

Bluetooth management socket connection lost: [Errno 22] Invalid argument

Additional information

This same update also knocked out my Aeotec Z-Stick Gen 5, but after powering cycling the HA Yellow that came back.

Krism-ctrl commented 2 months ago

I have same problem.