Automation Help - Trigger automation on "Home Assistant Host Restart"

I already know how to set up an automation trigger for when Home Assistant Host shuts down.

  trigger:
    - platform: homeassistant
      event: shutdown

However… it does not get triggered when Home Assistant Host is going to restart. I couldn’t find a restart event for the platform homeassistant. Surely there must be a way to instigate an automation if Home Assistant host is supposed to reboot (for example when Home Assistant OS is restarting to get an update.

There are three events reported before Home Assistant shuts down but none indicate if Home Assistant will be restarting.

Thanks. Right. That’s why I posted. I’m looking for a workaround that would effectively do the same thing.

You’re welcome. That’s why I replied, to provide you with more insight into the events reported prior to shutdown (i.e. there’s more available than what the homeassistant trigger detects).

tl;dr
No restart event; no workaround.