ZHA won't load in 2024.5
The problem
ZHA isn't loading with the 2024.5 betas (b0/b1)
What version of Home Assistant Core has the issue?
core-2024.5.0b1
What was the last working version of Home Assistant Core?
core-2024.4.4
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
home-assistant_zha_2024-04-27T15-12-39.139Z.log home-assistant_2024-04-27T15-13-09.610Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
logs attached
Additional information
Using SkyConnect for zigbee - I've also got a Nortel HUSBZB-1 but I only use it for ZWave now. Running on a Intel Nuc 11 NUC11ATKC4
Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of zha can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign zhaRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
+1
From the logs:
[bellows.ezsp.protocol] Failed to parse frame getTokenData: b'b5'
This seems to be related to:
- https://github.com/zigpy/bellows/pull/616
It was likely able to deserialize that successfully before (even though it probably shouldn't have). Now, with zigpy types, it's no longer able to and fails. (cc @puddly)
EDIT: Take this with a grain of salt for now. I'll need to take another look at this tomorrow. That specific error might be catched/expected already (if the token interface is unavailable)? If so, that's likely not the issue.
@lstrong2k The EZSP version you have installed doesn't include the token interface yet. As a workaround, can you try to update your SkyConnect firmware to a newer version (that includes the token interface) and then see if ZHA starts? You can use the web flasher: https://skyconnect.home-assistant.io/firmware-update/
Did the firmware update this morning and ZHA is loading fine now. Thanks
I had a same problem for 4 days. I had a Sonoff SNZB-06P ZB bridge with Tasmota. It worked well, but for 4 days the integration stopped. During install I got a message : "Failed to connect." What shall I do?
I have modified Silvercast/Lidl zigbee gateway( https://paulbanks.org/projects/lidl-zigbee/#overview ) and I lost connection when get core-2024.5.0b1 update. I'm not sure is it all for zha(some can be from my crappy configuration commands). Sorry for finnish texts in pictures.
I have modified Silvercast/Lidl zigbee gateway
so do I, and it doesn't play well with 2024.5.0 here too.