You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ZHA KeyError: relay_click_in_on_off_mode with custom Inovelli quirk on 2026.8 #178581
After updating to 2026.8 ZHA was not able to initialize. Looks like a communication issue with the Sonoff Zigbee Dongle-E stick. After rollback to 2026.7.4 everything works.
What version of Home Assistant Core has the issue?
2026.8.1
What was the last working version of Home Assistant Core?
Code owners of zha can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign zha Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the issue.
Before we dive in, please make sure this isn't a duplicate by searching through existing issues. Also check recently closed issues, as your problem might already be fixed but not yet released.
Fill out the issue template and include whether or not you're using a VM/Proxmox with USB passthrough, what addons you have installed, and so on.
ZHA does not have low-level control over your network, the mesh is self-organizing. If you started having network issues in a specific release, the release probably didn't cause the issue. Check your environment for new sources of 2.4GHz interference and make sure you're using an extension cable, not placing the coordinator near SSDs and USB 3.0 ports, etc. Just because things worked in the past with a bad setup doesn't mean they'll keep working in the future. (message by IssueContext)
changed the title [-]ZHA not able to initialize on 2026.8 (Sonoff Zigbee Dongle-E)[/-][+]ZHA `KeyError: relay_click_in_on_off_mode` with custom Inovelli quirk on 2026.8[/+]on Aug 10, 2026
@quhar Can you please drag-and-drop the custom Inovelli quirk(s) you have installed at /config/zhacustomquirks into the GitHub comment field here, so we can take a look at it? Afterwards, please remove it from that directory and restart Home Assistant Core.
We'll take a look at further hardening ZHA, so (broken) custom quirks that remove attributes don't prevent ZHA from loading completely, but at least you'd currently find broken custom quirks this way if you forget about any 😅. PR for fixing a part of this crash in ZHA:
Please also report if the upstream quirks are missing any features/entities. If they do, please try reconfiguring the device from the device page first. Otherwise, let us know here.
Thanks. I didn't realize that this could have been caused by the quirks. Please find them attached. And yes, after removing them I was able to upgrade to 2026.8 without any issues. Thank you!
Activity
home-assistant commentedon Aug 9, 2026
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
zhacan 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, problem in config, problem in device, feature-request) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the issue.(message by CodeOwnersMention)
@quhar Thanks for reporting this issue!
Before we dive in, please make sure this isn't a duplicate by searching through existing issues. Also check recently closed issues, as your problem might already be fixed but not yet released.
https://github.com/home-assistant/core/issues?q=%20label%3A%22integration%3A%20zha%22%20
To help us troubleshoot, please include the following information in your report:
ZHA does not have low-level control over your network, the mesh is self-organizing. If you started having network issues in a specific release, the release probably didn't cause the issue. Check your environment for new sources of 2.4GHz interference and make sure you're using an extension cable, not placing the coordinator near SSDs and USB 3.0 ports, etc. Just because things worked in the past with a bad setup doesn't mean they'll keep working in the future.
(message by IssueContext)
zha documentation
zha source
(message by IssueLinks)
eurowabbit commentedon Aug 10, 2026
i get this on the zha integration page...
puddly commentedon Aug 10, 2026
@eurowabbit Can you open a new issue and fill out the issue template? Include a debug a log as well.
[-]ZHA not able to initialize on 2026.8 (Sonoff Zigbee Dongle-E)[/-][+]ZHA `KeyError: relay_click_in_on_off_mode` with custom Inovelli quirk on 2026.8[/+]TheJulianJES commentedon Aug 10, 2026
@quhar Can you please drag-and-drop the custom Inovelli quirk(s) you have installed at
/config/zhacustomquirksinto the GitHub comment field here, so we can take a look at it? Afterwards, please remove it from that directory and restart Home Assistant Core.We'll take a look at further hardening ZHA, so (broken) custom quirks that remove attributes don't prevent ZHA from loading completely, but at least you'd currently find broken custom quirks this way if you forget about any 😅. PR for fixing a part of this crash in ZHA:
Please also report if the upstream quirks are missing any features/entities. If they do, please try reconfiguring the device from the device page first. Otherwise, let us know here.
quhar commentedon Aug 11, 2026
Thanks. I didn't realize that this could have been caused by the quirks. Please find them attached. And yes, after removing them I was able to upgrade to 2026.8 without any issues. Thank you!
init.py
VZM32SN.py
Skip entities whose attribute the cluster does not define