Alert when an automation has been off for too long

Is it possible to set up an alert to tell you that an automation has been off for longer than a certain period of time?

So if I wanted to turn off my exterior light automation to test something, I’d like to get an alert on my phone or HA panel that the automation has been off for over an hour.

yes