-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading custom_components.xiaomi_miio.climate in HA 0.89 #49
Comments
Same issue, HA 0.89 + python 3.7. |
It looks like the component isn't compatible right now. I will fix it ASAP. |
It seems that it remains conflict with the official component - Xiaomi Mi Robot Vacuum. even if update to your latest release. |
Could you post the error messages / exceptions? It fear you have to cooy all the other xiaomi_miio files to the same folder at custom_components |
when I put the xiaomi_miio folder to customer_components, Xiaomi Mi Robot Vacuum can't be used any more 2019-03-07 17:08:50 INFO (MainThread) [homeassistant.loader] Loaded xiaomi_miio from custom_components.xiaomi_miio |
I've renamed the component now. Please update the component and your configuration.yaml. |
Thanks a lot !!! |
When I update HA to 0.89 and put the latest climate.py and init.py into xiaomi_miio folder ,
xiaomi_miio dosen't worked and display the error like this
Error loading custom_components.xiaomi_miio_climate.climate. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/app/homeassistant/loader.py", line 166, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/xiaomi_miio/climate.py", line 14, in
from homeassistant.components.climate import (
ImportError: cannot import name 'SUPPORT_ON_OFF' from 'homeassistant.components.climate' (/usr/src/app/homeassistant/components/climate/init.py)
The text was updated successfully, but these errors were encountered: