Open famaia opened 7 years ago
same as me
yep same here.. Same errors as famaia.. Pirt 3.9 has a cool feature I would like to use. Looks like the line ImportError: cannot import name 'load_platform' holds the key. One of the import lines in the aqara script might have to be changed or updated.
Same here, but i've found a fix (i'll submit a PR tomorrow or the weekend):
pip3 install https://github.com/fooxy/homeassisitant-pyAqara/archive/v0.45-alpha.zip
In the same virtualenv as your HASS installation.
Thanks Sofixa.. Have not tried this yet but good to know someone has got it going again
Hi, any news, still seems broken? I've tried sofixa advice, but got stuck anyway.
Actually, I don't understand: If I change the code on .homeassistant/custom_components and then run the pip3 install command, will the local code that I just fixed, be overwritten?
Is it me or aqara is now broken on HASS 0.39 ? Had to revert to 0.38.4...
ERROR:homeassistant.loader:Error loading custom_components.aqara. Make sure all dependencies are installed Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/homeassistant/loader.py", line 141, in get_component module = importlib.import_module(path) File "/usr/lib/python3.4/importlib/init.py", line 109, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 2254, in _gcd_import
File "", line 2237, in _find_and_load
File "", line 2226, in _find_and_load_unlocked
File "", line 1200, in _load_unlocked
File "", line 1129, in _exec
File "", line 1471, in exec_module
File "", line 321, in _call_with_frames_removed
File "/root/.homeassistant/custom_components/aqara.py", line 1, in
from homeassistant.components.discovery import load_platform
ImportError: cannot import name 'load_platform'
ERROR:homeassistant.loader:Unable to find component aqara