In using the GUI “Check Configuration” or CLI “hassio ha check” there is no auditing of entities in automations or configurations that are referenced but don’t exist. It would be nice to have this as the entities pile up and come and go.
Just FYI, this is an excellent third party integration that can check for missing entities: