AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.45k stars 342 forks source link

Integration not loaded #921

Closed Mattrees007 closed 1 year ago

Mattrees007 commented 1 year ago

Log

Logger: homeassistant.setup Source: setup.py:210 First occurred: 19:58:49 (1 occurrences) Last logged: 19:58:49

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)

yeaaaaaahh commented 1 year ago

I have the same issue after upgrading Home assistant Core to 2023.1.2

itsmartinho commented 1 year ago

Same issue here

RikardzPT commented 1 year ago

The BLE devices were restored after updating to the beta version [v3.0-alpha.1]. But now, all my zigbee devices are not connecting to the gateway. The Mi Home app shows the same. BLE devices ok Zigbee devices NOK

djejedu13 commented 1 year ago

After update to HA Core 2023.1.2, i have same issue, component don't load with error :

ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration xiaomi_gateway3: cannot import name 'Command' from 'zigpy.zcl.foundation' (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)

Release 2.1.2

RikardzPT commented 1 year ago

I downgraded from beta version [v3.0-alpha.1] to stable v2.1.2. Full restore from before the beta, and before HA core2013.1.2. From the gateway only had data from de BLE devices (thermometers). No zigbee devices were connected. Exactly the same symptom on the Mi Home app. Only BLE devices available.

I checked the gateway and notice a very slow blink on the blue light. Rebooted the gateway. All maintained the same.

I was think about re-pair a device to test but all of the sudden, I notice 1 zigbee device with online status (on Mi Home). Then i started to trigger them, open/close door sensor, clicking a smart switch etc and all of them re-connect and are now online on Mi Home and HA. Somehow, either the v3.0-alpha or HA core2013.1.2... messed up the gateway and it needed to be 'shaken' :)

peterf9 commented 1 year ago

Log

Logger: homeassistant.setup Source: setup.py:210 First occurred: 19:58:49 (1 occurrences) Last logged: 19:58:49

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)

same thing here:

Logger: homeassistant.setup Source: setup.py:210 First occurred: 19:58:16 (1 occurrences) Last logged: 19:58:16

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)

AlexxIT commented 1 year ago

911