Hi wijnandtop,
I’m running Hass.io 0.77.1 in a docker container on Ubuntu.
I copied the contents of your git repo to /config/custom_components, but when restarting home assistant I get an error message saying:
Fri Aug 31 2018 12:39:17 GMT+0200 (centraleuropeisk sommartid)
Error loading custom_components.gardena. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/loader.py", line 94, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/gardena.py", line 16, in <module>
from custom_components.pygardena.account import *
File "/config/custom_components/pygardena/account.py", line 2, in <module>
from custom_components.pygardena.location import *
File "/config/custom_components/pygardena/location.py", line 2, in <module>
from custom_components.pygardena.mower import *
File "/config/custom_components/pygardena/mower.py", line 1, in <module>
from custom_components.pygardena.device import *
File "/config/custom_components/pygardena/device.py", line 2, in <module>
import objectpath
ModuleNotFoundError: No module named 'objectpath'
Are there any special dependencies and how do I install them?
Thanks!