WTH why aren’t integration statuses available for automating/templating etc

When automations fail or don’t load, I often don’t notice until I do something and HA doesn’t react. For example, ZHA integration doesn’t load on restart → I notice when the lights don’t turn on.

The status is shown in the HA interface but there is no way to check the state and react, for example send a notification to phone.

There are some janky workarounds like checking all entities are unavailable, but would be nice to have a more robust way to know the state of an integration.