-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Open
Labels
Description
The problem
Bluetooth devices (shelly) won't initialze because another integration seems to be conflicting
What version of Home Assistant Core has the issue?
core-2025.4.3
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
shelly
Link to integration documentation on our website
No response
Diagnostics information
I'm experimenting with shelly combined with bermuda for triangulation.
What i expected was that the 2 devices would be combined. Shelly does this with network based integrations (see screenshot)
However with bluetooth shelly devices seem to be inable to be initialed
Example YAML snippet
Anything in the logs that might be useful for us?
Logger: homeassistant.config_entries
Source: config_entries.py:751
First occurred: 11:44:46 AM (1 occurrences)
Last logged: 11:44:46 AM
Error setting up entry shellyplusplugs meterkast (80:64:6F:E7:4A:4C) for bluetooth
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/bluetooth/__init__.py", line 371, in async_setup_entry
await async_update_device(
...<5 lines>...
)
File "/usr/src/homeassistant/homeassistant/components/bluetooth/__init__.py", line 324, in async_update_device
device_registry.async_update_device(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
device.id, new_connections=connections
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 1123, in async_update_device
added_connections = new_values["connections"] = self._validate_connections(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
device_id, new_connections, False
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 1219, in _validate_connections
raise DeviceConnectionCollisionError(
normalized_connections, existing_device
)
homeassistant.helpers.device_registry.DeviceConnectionCollisionError: Connections {('bluetooth', '80:64:6F:E7:4A:4E')} already registered with DeviceEntry(area_id=None, config_entries={'01JJM0STDFJAN0X0ZPPVVTQVNW'}, config_entries_subentries={'01JJM0STDFJAN0X0ZPPVVTQVNW': {None}}, configuration_url=None, connections={('bluetooth', '80:64:6F:E7:4A:4E'), ('mac', '80:64:6f:e7:4a:4e')}, created_at=datetime.datetime(2025, 1, 27, 14, 17, 54, 231411, tzinfo=datetime.timezone.utc), disabled_by=None, entry_type=None, hw_version=None, id='4cb65f6323a0bf7c23795fe1a0a45823', identifiers={('bermuda', '80:64:6f:e7:4a:4e')}, labels=set(), manufacturer=None, model=None, model_id=None, modified_at=datetime.datetime(2025, 4, 2, 21, 11, 46, 630959, tzinfo=datetime.timezone.utc), name_by_user=None, name='80-64-6F-E7-4A-4E', primary_config_entry='01JJM0STDFJAN0X0ZPPVVTQVNW', serial_number=None, suggested_area=None, sw_version=None, via_device_id=None, is_new=False, _cache={'json_repr': b'{"area_id":null,"configuration_url":null,"config_entries":["01JJM0STDFJAN0X0ZPPVVTQVNW"],"config_entries_subentries":{"01JJM0STDFJAN0X0ZPPVVTQVNW":[null]},"connections":[["bluetooth","80:64:6F:E7:4A:4E"],["mac","80:64:6f:e7:4a:4e"]],"created_at":1737987474.231411,"disabled_by":null,"entry_type":null,"hw_version":null,"id":"4cb65f6323a0bf7c23795fe1a0a45823","identifiers":[["bermuda","80:64:6f:e7:4a:4e"]],"labels":[],"manufacturer":null,"model":null,"model_id":null,"modified_at":1743628306.630959,"name_by_user":null,"name":"80-64-6F-E7-4A-4E","primary_config_entry":"01JJM0STDFJAN0X0ZPPVVTQVNW","serial_number":null,"sw_version":null,"via_device_id":null}', 'as_storage_fragment': <orjson.Fragment object at 0x7f5aa3e1f0>})
Additional information
No response