I started getting this error today. I have no idea what it means. I tried adding a terminate(self) function, but that didn’t help.
2017-01-23 12:22:41.041408 WARNING ------------------------------------------------------------
2017-01-23 12:22:41.041932 WARNING Unexpected error during loading of calalarm.py:
2017-01-23 12:22:41.042255 WARNING ------------------------------------------------------------
2017-01-23 12:22:41.042941 WARNING Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/appdaemon/appdaemon.py", line 701, in readApp
term_file(file)
File "/usr/local/lib/python3.4/dist-packages/appdaemon/appdaemon.py", line 475, in term_file
term_object(key)
File "/usr/local/lib/python3.4/dist-packages/appdaemon/appdaemon.py", line 496, in term_object
if hasattr(conf.objects[name]["object"], "terminate"):
KeyError: 'calalarm'
2017-01-23 12:22:41.043333 WARNING ------------------------------------------------------------
(hass) hass@hass:~/appdaemon$
It happens as soon as I try to load my app. I have restarted AD and same thing.