Validate all entity names used - scripts, automations, lovelace,

Sometime the entity names of integrations may change which may have an unexpected effect on many scripts, automations, frontend lovelace configs etc.

Is there a way to validate all these files to see if any non-existing entity name is used in order to be able to fix them?

Maybe by fetching all existing known entity names and comparing it with all entity names used in any script/automation/lovelace?

Watchman is what you are looking for

nice, thanks for the quick reply!