core
core copied to clipboard
Bluetooth error on start-up
The problem
Hey, this message pops up on my logs on startup (not every time), but since it involves the new BT integration, I will bring it up here.
I do not have any BT devices connected (yet).
Logger: root
Source: runner.py:119
First occurred: 9:04:43 AM (1 occurrences)
Last logged: 9:04:43 AM
A message handler raised an exception: '/org/bluez/hci0/dev_80_6F_B0_6D_E2_F4'. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/dbus_next/message_bus.py", line 668, in _process_message result = handler(msg) File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 711, in _parse_msg del self._properties[obj_path][interface] KeyError: '/org/bluez/hci0/dev_80_6F_B0_6D_E2_F4'
What version of Home Assistant Core has the issue?
2022.8.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
bluetooth
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bluetooth/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
bluetooth documentation bluetooth source (message by IssueLinks)
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (bluetooth
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
It looks like a race bug in bleak where the data comes in before the dict entry is created.
Its likely not going to cause a problem other than a log message
Thanks @bdraco
It hasn't appeared since, despite multiple restarts.
I'll close the issue since it doesn't appear to cause any issues