Check every X minutes on all automations if a entity is used thats not there anymore

Hi All,

Sometimes you try to fine tune your entities, give them better names or whatever.
But you not always remember where the entity is used in automations or scripts.

Would be nice to have a checker that check all automations and scripts if there is something broken.

check entities that are used in automations if entity is not in HA then mark as broken.

Find and replace in any decent text editor will do this.

I’m using grep -irn “lala” but would be nice and human friendly for those who not know how to do this