Removing a bogus card from the default dashboard

While following directions for configuring HA to do something with a camera, I introduced the following to my configuration.yaml:

camera:
  - platform: ffmpeg
    name: frontdoor_live
    input: <ip address>

After introducing this code, a card magically appeared in my default dashboard, but it had no image. I subsequently decided not to pursue whatever it was I was trying to do, so I removed the code from my configuration file. The card remained and there is still an entity for the camera. I cannot remove the entity because it does not have a unique ID. I searched through every file I could find, but I could not find any evidence of frontdoor_live. I do not have an ffmpeg integration. I have restarted multiple times and I even rebooted the HA VM. How do I get rid of the card and the entity?

When in editing mode in the dashboard you can click the three dots I. The upper right corner and choose raw editing or something like that.
It’s all your dashboards elements in one single file with no filter.
Make a backup of the text before you edit, because you can easily crash the entire dashboard.

Do you have access to the file system? If so, take a look inside the .storage folder. Probably there’s an entry for that camera in the core_device_registry or the core_entity_registry. Delete it and restart HA.

After installing the update to supervisor that just went out, the bogus card disappeared. Go figure. I refreshed the page in my browser after the update. I wonder whether it was that refresh that solved the problem.

1 Like