Finding where a missing sensor is referenced

Running Watchman, I have one sensor listed as MISSING in .storage/Lovelace.pc_view:459. It appears to be the battery percentage sensor for a old mobile phone that I no longer use.

My question is, how do I find where this is missing from? I’ve searched through my Dashboards, and can’t find it referenced anywhere.

open that file and see what page it’s on. It’s on your Pc view at line 459.

But where do I find the file? I’ve looked in the File Editor, but can’t find anything called Lovelace.pc_view

I’m very new to Home Assistant , so can you please give me a bit more advice on where to find the file. Thanks

It’s in the .storage folder, a hidden folder. You can also just view the dashboard in yaml, and go to line 459, which would probably be easier if you’re a beginner.

Thanks.
I managed to view my dashboard in yaml, tracked it down to custom:power-flow-card-plus having my old phone battery set as the battery for the whole house!! Don’t know how that happened, I never entered that, so maybe that card picked up the old phone battery as a default sensor for battery.

Anyway, thanks for your help. All fixed now.

https://spook.boo/ is your friend, check it out.