I upgrade to the latest Appdaemon version and am struggling getting my apps up and running again.
Here is what I have done so far.
- Changes the config to the new YAML format
- Moved my app configs to the apps.yaml
- Removed all my apps and tried the Hello World example
However, whenever I save the apps.yaml, I get an error in my log file
> 2017-10-15 08:38:35.163570 WARNING ------------------------------------------------------------
> 2017-10-15 08:38:59.026801 WARNING ------------------------------------------------------------
> 2017-10-15 08:38:59.027641 WARNING Unexpected error:
> 2017-10-15 08:38:59.028262 WARNING ------------------------------------------------------------
> 2017-10-15 08:38:59.029067 WARNING Traceback (most recent call last):
> File "/usr/local/lib/python3.4/dist-packages/appdaemon/appdaemon.py", line 824, in check_config
> for name in conf.app_config:
> TypeError: 'NoneType' object is not iterable
>
> 2017-10-15 08:38:59.029619 WARNING ------------------------------------------------------------
Here is my appdaemon.yaml (Note that the spaces did not get copied properly, but they are fine):
AppDaemon:
app_dir: /var/lib/appdaemon/conf/apps
errorfile: /var/lib/appdaemon/conf/error.log
logfile: /var/lib/appdaemon/conf/appdaemon.log
threads: β10β
HASS:
ha_url: http://localhost:8123
HADashboard: {}
Here is my apps.yaml
hello_world:
module: hello
class: HelloWorld