This is a LEARNING that may apply to more users.
I have been struggling with HA Restarts for the last 6 months or so.
The restarts would:
a. take a long time (45-60 min),
b. result in failed loading of integrations -primarily ZIGBEE and
c. loss of the automations.yaml.
In the last week it got so bad, that the the update to HA_core_260604 would not execute. ![]()
In the past (> 1 year ago) I had similar issues with long duration restarts, and thought I solved it then by removing the filtering from yaml and adding FILTER HELPERS. Somewhere I read that these would survive a restart... and for a while it worked...
And so now I was focusing on ZIGBEE being the culprit. WRONG.
Today I removed any and all filter HELPER with filter times over some minutes (especially the 24hr, 1hr and 15min ones).
Now restarts are a BREEZE. restarts in just a few minutes, small log file, ZIGBEE and other integrations load normal, automations.yaml remains present...
LEARNING: DO NOT USE LONG FILTER TIMES.
Comments welcome.
Bernard