@Mohlsson , thanks for the app. I’ve installed it according to your instructions and set up the yaml file, but AppDemon is reporting a compile error - any idea what might have gone wrong?
The error log in AppDemon shows:
2021-07-30 21:06:34.993525 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/replay_lights.py
2021-07-30 21:06:35.012090 WARNING Error: ------------------------------------------------------------
2021-07-30 21:06:35.013133 WARNING Error: Unexpected error loading module: /config/appdaemon/apps/replay_lights.py:
2021-07-30 21:06:35.013846 WARNING Error: ------------------------------------------------------------
2021-07-30 21:06:35.020016 WARNING Error: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/appdaemon/app_management.py", line 963, in check_app_updates
await utils.run_in_executor(self, self.read_app, mod["name"], mod["reload"])
File "/usr/lib/python3.8/site-packages/appdaemon/utils.py", line 299, in run_in_executor
response = future.result()
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.8/site-packages/appdaemon/app_management.py", line 755, in read_app
self.modules[module_name] = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/appdaemon/apps/replay_lights.py", line 2, in <module>
import pymysql.cursors
ModuleNotFoundError: No module named 'pymysql'
2021-07-30 21:06:35.020896 WARNING Error: ------------------------------------------------------------