Hi.
I was playing with custom components and was installing things that probably should not have installed through ssh =( now my bluetooth device reports issues:
2021-05-23 19:36:00 INFO (SyncWorker_6) [pygatt.backends.gatttool.gatttool] Starting BLE scan
2021-05-23 19:36:02 ERROR (SyncWorker_6) [pygatt.backends.gatttool.gatttool] No BLE adapter found
2021-05-23 19:36:02 ERROR (SyncWorker_6) [homeassistant.components.bluetooth_le_tracker.device_tracker] Error during Bluetooth LE scan: No BLE adapter found
2021-05-23 19:36:51 DEBUG (MainThread) [homeassistant.components.bluetooth_tracker.device_tracker] Performing Bluetooth devices discovery and update
2021-05-23 19:36:51 ERROR (MainThread) [homeassistant.components.bluetooth_tracker.device_tracker] Error looking up Bluetooth device
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/bluetooth/bluez.py", line 30, in discover_devices
results = _bt.hci_inquiry (sock, duration=duration, flush_cache=True,
_bluetooth.error: (9, 'Bad file descriptor')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 138, in perform_bluetooth_update
devices = await hass.async_add_executor_job(discover_devices, device_id)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 56, in discover_devices
result = bluetooth.discover_devices(
File "/usr/local/lib/python3.8/site-packages/bluetooth/bluez.py", line 34, in discover_devices
raise BluetoothError ("error communicating with local "
bluetooth.btcommon.BluetoothError: error communicating with local bluetooth adapter