thank you for the solution, but I’m getting the following error. the hassapi module, is it something that is exclusive to hassio\supervisor? I’m running HA as docker without supervisor component,
2020-08-25 22:16:55 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.aqara. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 436, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/aqara.py”, line 3, in
import hassapi as hass
ModuleNotFoundError: No module named 'hassapi’
2020-08-25 22:16:56 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.aqara. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 436, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/aqara.py”, line 3, in
import hassapi as hass
ModuleNotFoundError: No module named 'hassapi’
2020-08-25 22:16:56 ERROR (MainThread) [homeassistant.setup] Setup failed for aqara: Integration not found.