How to validate entity names?

Built-in Configuration Validation only validates YAML syntax, if inside a script you made a typo in a script or sensor name, it will never detect that.

Is there any way to do a “complete” validation including verification of all entity names? Any ideas?

Thanks!