Friends, help me deal with an incomprehensible situation. The system is on Debian 11, the Bluetooth adapter EDR LOVE EP-B3536 (RTL8761BU). Linux is configured and the adapter sees the devices, can connect to them and transmit data. Home Assistants sees the devices (I have a kettle), and it also works. But errors are constantly published in the journal!
Logger: homeassistant.components.bluetooth.scanner
Source: components/bluetooth/scanner.py:336
Integration: Bluetooth (documentation, issues)
First occurred: 8 февраля 2023 г., 18:54:46 (106 occurrences)
Last logged: 09:37:56
hci0 (00:E0:4C:1A:F2:94): Error stopping scanner: [org.bluez.Error.Failed] No discovery started
And another mistake followed
Logger: homeassistant.components.bluetooth.scanner
Source: components/bluetooth/scanner.py:301
Integration: Bluetooth (documentation, issues)
First occurred: 8 февраля 2023 г., 18:54:48 (771 occurrences)
Last logged: 09:37:58
hci0 (00:E0:4C:1A:F2:94): Failed to restart Bluetooth scanner: hci0 (00:E0:4C:1A:F2:94): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress
hci0 (00:E0:4C:1A:F2:94): Failed to restart Bluetooth scanner: hci0 (00:E0:4C:1A:F2:94): Failed to start Bluetooth: [org.freedesktop.DBus.Error.UnknownObject] Method "SetDiscoveryFilter" with signature "a{sv}" on interface "org.bluez.Adapter1" doesn't exist
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 219, in _async_start
await self.scanner.start() # type: ignore[no-untyped-call]
File "/usr/local/lib/python3.10/site-packages/bleak/__init__.py", line 156, in start
await self._backend.start()
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 191, in start
self._stop = await manager.active_scan(
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 368, in active_scan
assert_reply(reply)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.InProgress] Operation already in progress
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 346, in _async_restart_scanner
await self._async_start()
File "/usr/src/homeassistant/homeassistant/components/bluetooth/scanner.py", line 301, in _async_start
raise ScannerStartError(
homeassistant.components.bluetooth.scanner.ScannerStartError: hci0 (00:E0:4C:1A:F2:94): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress