AppDaemon has a concept of module dependencies via a separate directive: https://appdaemon.readthedocs.io/en/latest/APPGUIDE.html#global-module-dependencies in addition to normal module dependencies (which cause the same issue).
AppDaemon modifies the PYTHONPATH such that it appears these modules are actual packages. Not only makes this development more difficult (since the imports are in fact invalid during development time) but it also makes it impossible to use this nice test framework.
Is there a way to solve this?