I have read that automations will run from the top after a HA restart, even if the automation was mid-running just before the HA restart. This of course can cause problems like a motion light might stay on instead of turning off.
I am also aware that many issues can be mitigated in the automation design to handle a restart. At the same time, might there be an integration that monitors all running automations and will restore them to the original running state after a restart? This can be very helpful to address the issue and take the complexity of having to deal with a restart in each automation–especially for noobs.
Thanks.