You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatic reload mechanism in appdaemon in cool, but doesn't support one of the most compelling use cases for appdaemon vs HAs built in automations: code reuse.
For example: I have a utils.py file that contains some utility functions that are used across several of my apps, like so:
At the moment, if I change lights.py, everything is reloaded as expected (good) but if I change utils.py appdaemon doesn't recognize that it needs to reload lights.py as well (bad)
It would be really awesome if appdaemon would recognize (automatically? specially formed docstring?) that if utils.py changes, it also needs to reload lights.py
Thanks
The text was updated successfully, but these errors were encountered:
The automatic reload mechanism in appdaemon in cool, but doesn't support one of the most compelling use cases for appdaemon vs HAs built in automations: code reuse.
For example: I have a
utils.py
file that contains some utility functions that are used across several of my apps, like so:-- utils.py --
-- lights.py --
At the moment, if I change
lights.py
, everything is reloaded as expected (good) but if I changeutils.py
appdaemon doesn't recognize that it needs to reloadlights.py
as well (bad)It would be really awesome if appdaemon would recognize (automatically? specially formed docstring?) that if
utils.py
changes, it also needs to reloadlights.py
Thanks
The text was updated successfully, but these errors were encountered: