core: Home assistant 2023.1.2 Xiaomi gateway 3 fails to load
The problem
Home assistant 2023.1.2 Xiaomi gateway 3 fails to load Error: Logger: homeassistant.setup Source: setup.py:210 First occurred: 05:56:45 (1 occurrences) Last logged: 05:56:45
Setup failed for custom integration xiaomi_gateway3: Unable to import component: cannot import name ‘Command’ from ‘zigpy.zcl.foundation’ (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)
What version of Home Assistant Core has the issue?
2023.1.2
What was the last working version of Home Assistant Core?
2023.1.1
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Xiaomi Gateway 3
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.setup
Source: setup.py:210
First occurred: 05:56:45 (1 occurrences)
Last logged: 05:56:45
Setup failed for custom integration xiaomi_gateway3: Unable to import component: cannot import name 'Command' from 'zigpy.zcl.foundation' (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 4
- Comments: 22
@itsmartinho
1 Go to HACS 2 search for the gateway integration and select it 3 In the upper right corner click on the 3 dots 4 Choose redownload 5 Toggle the “Show beta versions” switch 6 Select the v3.0-alpha.1 version and click on download 7 Restart Home Assistant 8 Fingers crossed
Hope this helps you out.
You have to toggle the Beta switch and switch to the Beta update. That one solves the problem. At least it worked for me.
Same here. I noticed that my connection with all my zigbee lights were unstable the past 2 days. And I couldn’t figure out why this was happening and the misses was getting angry that Google Home wasn’t working properly anymore. First I thought it was the new HA Core update but after a rollback the problem wasn’t fixed. I even tried to switch from the diy Google Home connection to Nabu Casa but the problems persisted. The zigbee connections got stable again after I downgraded the Xiaomi Gateway 3 integration. So there’s a conflict somewhere in this fix that causes unstable zigbee connections even when I don’t use the gateway as my main zigbee router.
This method work for me. Thank you!!!
V3.0-alpha.1