A way to list missing/unloaded devices

Is there a way to list down missing or unloaded devices? I usually experience one or more devices not being loaded after reboot and there’s no easy way to know until an automation fails or you noticed it physically. This is different from unavailable status of device, e.g. I restarted my pi earlier and after some time I found out that one of the normally off tp-link plugs are still on longer than it should be. It turns out that it was not loaded or doesn’t exist on home-assistant.

It would be good have this kind of sensor, e.g. set your current home-assistant devices as the baseline and then get an alert or a sensor that compares the list from your baseline if you are missing some devices.

I already checked the links below and it’s different from what I describe.