Script executed by itself on HA startup

I have a reminder in place to replenish my pet feeders. My wife mentioned today that the pet feeders were empty. Indeed they were so I checked and my reminder script that pushes back the notification when I fill up the feeders looks to have executed at the same time as I rebooted HA.
According to the logbook it is the only script that executed on that reboot but it doesn’t have any triggers related to HA boot.
Is there someway to confirm what exactly triggered a script? I especially want to confirm if it was the HA reboot that somehow triggered it for some reason when it shouldn’t (possible bug?). The logbook simply identifies that the script triggered itself.

We need to see what triggers you DO have. (could be an incorrect assumption about states at boot)

Where do you fire the script from and what does that look like?

The script is called from a standard button that I push when I fill the feeders.


The script sets a timestamp in a datetime helper to 5 days in the future (when next refill is due).

In the meantime I’ll check about states at boot that you mentioned. Maybe I missed something there.