What I suggested comes from this helpful guide.
My automation’s State Trigger employs not_from: unavailable and prevents it from firing on startup because, on startup, the event entity’s state value undergoes a state-change from unavailable to whatever value it had prior to the restart.
not_from: unavailable
event
state
unavailable