I did an update to HA Core 2025.01 this morning. Suddenly my Sonoff Zigbee Dongle stopped working.
I checked the logs and found this error:
Logger: homeassistant.config_entries
Quelle: config_entries.py:640
Erstmals aufgetreten: 20:05:06 (1 Vorkommnisse)
Zuletzt protokolliert: 20:05:06
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus for zha
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 132, in async_setup_entry
async with radio_mgr.connect_zigpy_app() as app:
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/contextlib.py", line 214, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/zha/radio_manager.py", line 182, in connect_zigpy_app
app = await self.radio_type.controller.new(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app_config, auto_form=False, start_radio=False
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/zigpy/application.py", line 239, in new
await app._load_db()
File "/usr/local/lib/python3.13/site-packages/zigpy/application.py", line 111, in _load_db
await self._dblistener.load()
File "/usr/local/lib/python3.13/site-packages/zigpy/appdb.py", line 684, in load
device = zigpy.quirks.get_device(device)
File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/__init__.py", line 43, in get_device
return _DEVICE_REGISTRY.get_device(device)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/registry.py", line 130, in get_device
return quirk_entry.create_device(device)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/v2/__init__.py", line 430, in create_device
return CustomDeviceV2(device.application, device.ieee, device.nwk, device, self)
File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/v2/__init__.py", line 91, in __init__
add_meta(self)
~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/v2/__init__.py", line 164, in __call__
endpoint: Endpoint = device.endpoints[self.endpoint_id]
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 2
After some research I flashed a new Firmware (with this how-to: Sonoff Zigbee 3.0 CC2652P Dongle Plus ZBDongle-P Zigbee compatibility). That did not help.
Then I did a rollback from my backup to 2024.12.5. ZHA started gracefully, all Zigbee Devices worked fine.
I tried to update so HA Core 2025.01 again. The Error occures again.
I restored to 2024.12.5 again. Everything is fine.
Does anyone has a similiar problem?
Any Ideas?