Does anyone know for sure if the Alert integration survives a restart?
Ex:
the alert criteria state is met and the integration begins alerting at the specified interval. But after it has transitioned to that state HA is restarted. Then after HA has restarted the state is already in the alert state.
Does the alert state act as an automation trigger (needs a transition to that state and then stay that way in order to alert and continue alerting at the time interval) or does it act as a condition (the alert integration checks the state at HA restart and continues alerting until the alert condition clears)?
Both? In my experience what happens after restart with alerts is this:
it does not remember anything from the prior restart. Like if you acknowledged it then it forgets that and sets itself from the state of it’s watched entity again. If you set dynamic intervals then it starts over as if it just became on again.
you miss the actual trigger. It’s as if skip_first is always true this time.
it does send out notifications at its repeat intervals as long as it’s watched entity remains in the selected state and it’s not acknowledged.
This is kind of why I like alerts because they do essentially survive a restart. Yes it’s a little annoying they start dynamic repeat intervals over and forget they were acknowledged (although the second part can be handled by automation) but still more useful then an automation that just ends at a restart.