core: ZHA with SkyConnect multiprotocol stopped working after 2024.2.4

The problem

I’ve just updated HA from 2024.2.3 to 2024.2.4 and ZHA won’t start. There was NO blocking change about it and my entire Zigbee network has gone to ****.

My hub is SkyConnect in multiprotocol mode.

What version of Home Assistant Core has the issue?

2024.2.4

What was the last working version of Home Assistant Core?

2024.2.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

Logger: homeassistant.config_entries Source: config_entries.py:444 First occurred: 16:27:26 (3 occurrences) Last logged: 16:46:29

Error setting up entry SkyConnect Multi-PAN for zha: Incorrect firmware installed Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 163, in async_setup_entry zha_gateway = await ZHAGateway.async_from_config( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 196, in async_from_config await instance.async_initialize() File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 214, in async_initialize await app.startup(auto_form=True) File “/usr/local/lib/python3.12/site-packages/zigpy/application.py”, line 225, in startup await self.connect() File “/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py”, line 148, in connect await ezsp.startup_reset() File “/usr/local/lib/python3.12/site-packages/bellows/ezsp/init.py”, line 125, in startup_reset await self.reset() File “/usr/local/lib/python3.12/site-packages/bellows/ezsp/init.py”, line 151, in reset await self._gw.reset() TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 191, in async_setup_entry raise ConfigEntryError(“Incorrect firmware installed”) from exc homeassistant.exceptions.ConfigEntryError: Incorrect firmware installed

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: config_entries.py:1395
First occurred: 16:47:18 (1 occurrences)
Last logged: 16:47:18

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1395, in async_setup
    raise OperationNotAllowed(
homeassistant.config_entries.OperationNotAllowed: The config entry SkyConnect Multi-PAN (zha) with entry_id ff760fa2483f0a80f3dc204f2ed4fd29 cannot be setup because is already loaded in the ConfigEntryState.SETUP_ERROR state

Additional information

I Try option 2 and didn’t work:

image

About this issue

  • Original URL
  • State: open
  • Created 4 months ago
  • Reactions: 1
  • Comments: 38 (8 by maintainers)

Most upvoted comments

Note that if you’re getting the “wrong firmware installed” repair, the downgrade will do nothing. You must first reconfigure ZHA to point to the multiprotocol addon and not try to talk to the SkyConnect directly.

Do this by going to the ZHA configuration page and click “Migrate radio”. You can then select “Re-configure current radio” and then pick the Multiprotocol addon in the list. Do not pick the SkyConnect. After that is done, select “Keep current network settings” and allow ZHA to change its serial port back.

I still think HA Core has something to say about this. On my Home Assistant Green with HAOS 12, ZHA works correctly on HA Core version 2024.2.3, but on versions 2024.2.4 and 2024.2.5 it fails.

Note that if you’re getting the “wrong firmware installed” repair, the downgrade will do nothing. You must first reconfigure ZHA to point to the multiprotocol addon and not try to talk to the SkyConnect directly.

Do this by going to the ZHA configuration page and click “Migrate radio”. You can then select “Re-configure current radio” and then pick the Multiprotocol addon in the list. Do not pick the SkyConnect. After that is done, select “Keep current network settings” and allow ZHA to change its serial port back.

@organismzero Can you fill out the issue template and include your hardware info, how you are running Home Assistant, and the exact logs?