Took some time to configure appdaemon. I believe completed all the steps corectly and then tried to add the program from here
https://home-assistant.io/cookbook/automation_kodi_dynamic_input_select/
I believe i’m still messing up what should go to the apps section in appdaemon.yaml
I put it like this (as i put into the code into kodi.py). Do i need - in fron of program name?
# Apps
hello_world:
module: hello
class: HelloWorld
kodi select:
module: kodi
class: DynamicKodiInputSelect
But get the following error
2017-08-18 17:26:12.074126 WARNING ------------------------------------------------------------
2017-08-18 17:27:54.045849 WARNING ------------------------------------------------------------
2017-08-18 17:27:54.046409 WARNING Unexpected error during loading of kodi.py:
2017-08-18 17:27:54.046731 WARNING ------------------------------------------------------------
2017-08-18 17:27:54.048340 WARNING Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/appdaemon/appdaemon.py", line 911, in read_app
conf.modules[module_name] = importlib.import_module(module_name)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/appdaemon/apps/kodi.py", line 2, in <module>
from homeassistant.components.media_player.kodi import (
ImportError: No module named 'homeassistant'