Shut down / restart appdaemon does not terminate in correct order #2016
Labels
bug
Something isn't working
work_in_progress
Isse or PR that is evolving and shouldn't;t be aged out
What happened?
When you shut down appdaemon or restart it, you have the ability to do a cleanup using the
terminate()
function in an app. But the order in which the shutdown steps are made are imho not correct. It shuts down the connection to HA first instead processing the therminate() steps. This leads to the situation that you cant set entities in HA as part of the cleanup.Current:
Imho, the order should be the following:
Version
4.4.2
Installation type
Home Assistant add-on
Relevant log output
No response
Relevant code in the app or config file that caused the issue
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: