How to identify "Unknown entities"?

Is it possible identify unknown entities, and more importantly, determine which automation they are referenced in? I’ve run into this situation several times. The unknown entity was actually caused on purpose by me because I’m having a different smart switch installed. So I thought I’d use the opportunity to try and determine that this automation has an unknown entity.

-Thanks

This project notifies you about stuff like this. It is very comprehensive, so you might get a lot of repairs.

Thanks I’ll check it out.

Was going to say the same. Spook.

I make it required for Zenos - it’s got a lot of cool/important/why isn’t this actually in HA yet stuff.

Can’t wait to check it out.