How to fix - Missing Scenes / Entities showing in Watchman (Lovelace)

I have been using HA for around 12 months - so still on the learning curve. I am trying to fix the missing scenes which are showing up on ‘Watchman’ see attached image. It suggests they are in Lovelace/Lovelace/main, which I assume is the main Dashboard in Lovaelace.

I removed everything from this dashboard (not used) so it is in theory an empty dashboard but these remain here? I have tried to find any lovelace.lovelace_main in my Yaml files but also, nothing. Where do I locate this and how do I fix this?

Scenes on my main ‘USED’ dashboards are all working fine, just cannot figure out how to fix this?

Thanks you so much for your help!

Unknown just means the scenes have no state, which will happen if they have not been used since the last restart. You can ignore that.

Missing means the entities are not defined and you should remove them from your dashboard.

In the settings you can ignore domains (via wildcard) and states as described in the docs.

Are you using yaml mode dashboards? If so, maybe these missing references are still in the GUI built one that is now no longer visible?

I have a related question. My watchman is “clean” except for scenes that are created during an automation. ie. “before state” scenes. They are “missing” because they are only created with automation is run in order to revert back to previous state.

How can I clean these from watchman?

In the settings for the Watchman integration, press configure and add these to the list of entities to ignore.