Closed Psytoshgen closed 4 weeks ago
Same here.
since zigpy
replaces DATA_TYPES
with another structure
https://github.com/zigpy/zigpy/commit/6a84984067b69435b45f0fc6f1ff22ee01a0e734
This is not an issue related to 2024.9.0b2
Same here.
Same problem back to 2024.08.3 :(
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
Same here. 20240904.0
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0"
it worked for me too, thanks
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0"
it worked for me too, thanks
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
it worked for me too, thx
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
it worked for me too, thx
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
If you use ZigBee configuration via another device (for example, via Sonoff USB transmission), then this "fix" will simply kill it. Don't do it.
The correct fix has already been added to the master version
The correct fix has already been added to the master version
Waiting for release)
修复了么?
The correct fix has already been added to the master version
I understand that 4.0.6 is not ready yet, but maybe it would be worth releasing a minor update so that people can update from Hacs?
People can update from HACS at any time
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
Worked after reboot.
s
nope, this dont work for me )
有人测试修复了么?
Hi, how do we fetch the latest master through HACS? Redownloading 4.0.5 did not resolve the issue. Or is it done manually somehow?
Edit: check my next comment on how I did this
Hi, how do we fetch the latest master through HACS? Redownloading 4.0.5 did not resolve the issue. Or is it done manually somehow?
+1
Change the file manifest.json /homeassistant/custom_components/xiaomi_gateway3/manifest.json to: line 14 "zigpy>=0.52.3,<0.66.0" for me it worked.:)
If you use ZigBee configuration via another device (for example, via Sonoff USB transmission), then this "fix" will simply kill it. Don't do it.
Yep, this "fix" kills ZHA and Xiaomi Aqara !
Same here: ZHA has died...
The "fix" also killed my ZHA.
The "fix" also killed my ZHA.
And reverting the line in manifest.json don't set it back...
Napló: homeassistant.setup Forrás: setup.py:334 Először fordult elő: 21:27:05 (1 Események) Utoljára naplózott: 21:27:05
Setup failed for 'zha': Unable to import component: cannot import name 'DEVICE_REGISTRY' from 'zigpy.quirks' (/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, *self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
self._component_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component
comp = self._get_component()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
The "fix" also killed my ZHA.
And reverting the line in manifest.json don't set it back...
What was the text before the "fix"? Try a full reboot of HAOS maybe it helps
Texto before fix.: line 14 "zigpy>=0.52.3"
:)
A quarta, 4/09/2024, 20:39, Vali Ene @.***> escreveu:
The "fix" also killed my ZHA.
And reverting the line in manifest.json don't set it back...
What was the text before the "fix"? Try a full reboot of HAOS maybe it helps
— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/XiaomiGateway3/issues/1434#issuecomment-2329833400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLEIMFWF4RHXWXJHXYCSXLZU5OYBAVCNFSM6AAAAABNNFQQU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZHAZTGNBQGA . You are receiving this because you commented.Message ID: @.***>
The "fix" also killed my ZHA.
And reverting the line in manifest.json don't set it back...
What was the text before the "fix"? Try a full reboot of HAOS maybe it helps
I've done it, without success...
Restoring backup RN...
Hi, how do we fetch the latest master through HACS? Redownloading 4.0.5 did not resolve the issue. Or is it done manually somehow?
I just went ahead and did the change manually then restarted HASS. It fixed it for me, but keep in mind users are reporting this is killing their ZHA setup.
I can confirm, by redownloading the integration in HACS breaks ZHA.
So, how to fix the "Fix" now? ZHA is broken. Reverting the 14th line doesn't help
For fixing ZHA change "zigpy==0.66.0"
and restart Hass.
For fixing ZHA change
"zigpy==0.66.0"
and restart Hass.
`Logger: homeassistant.setup Source: setup.py:334 First occurred: 21:58:50 (1 occurrences) Last logged: 21:58:50
Setup failed for 'zha': Unable to import component: cannot import name 'DEVICE_REGISTRY' from 'zigpy.quirks' (/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, *self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
self._component_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component
comp = self._get_component()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
Same here. Did not fix the error.
For fixing ZHA change
"zigpy==0.66.0"
and restart Hass. importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File (/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py)`
Wait! let me try to complete reboot the system...
Edit: no luck ZHA is back but gatway3 not loading
I did the reboot, but without success.
For fixing ZHA change
"zigpy==0.66.0"
and restart Hass.
Nope. Still the same. Even restoring from backup didn't help
Upgrade to 4.0.6 through HACS helped! Thanks AlexxIT!
If I use zigbee2mqtt instead of ZHA, can I make the suggested change without issues? Edit: can confirm upgrade to 4.0.6 worked for me, thanks
For fixing ZHA change
"zigpy==0.66.0"
and restart Hass.
Worked only after rebooting system. Rebooting just HA failed. Thnx
For fixing ZHA change
"zigpy==0.66.0"
and restart Hass.
Sorry if I'm being stupid, but I don't know what this means. Must I replace a file, change a value somewhere?
If you have broken a ZHA on your own - you should know where to replace this.
If you have broken a ZHA on your own - you should know where to replace this.
Sorry, I thought ZHA broke with the release of v4.0.6 and you were explaining how to fix it. Thanks for responding.