Can't configure my Lovelace overview anymore

I can’t configure my lovelace overview anymore. When I click the ‘configure UI’ button, it still goes into edit mode, but the edit buttons below the entities don’t appear. And when I click ‘raw configuration editor’ the lovelace overview goes blank.

First I thought it was because of the latest update to 0.107.7, but then I restored a 0.106.6 snapshot the problem remained.

I also tried deleting /config/.storage/lovelace (from smb share) and restarting. This gave me a fresh default lovelace overview with lots of badges. But still I couldn’t edit.

How can I fix this without starting from scratch?

Do you use the auto-entities custom card?

No. The custom ones I use are:
“url”: “/community_plugin/unused-card/unused-card.js”
“url”: “/community_plugin/button-entity-row/button-entity-row.js”
“url”: “/local/custom-lovelace/graph-card/graph-card.js?v=0.1”

Ok. I had this same fault but only on one view. I could get to the edit functions if I refreshed one of my other views ( Ctrl + F5) then tried the Lovelace config UI.

I then navigated to the faulty view and started moving cards one by one to a new “test” view. Then navigated around home assistant for a while before testing again.

It eventually turned out to be the auto-entities card in my case. The fault followed it to the test view.

If I were you, I’d start by moving the unused-card.

I removed the custom stuff from the lovelace json file. And restarted HASS. The entities were gone, but the problem remained.

I fixed it. First thing I did was restore an old snapshot where everything was still fine. Then I upgraded to 108. And then I restored the most recent snapshot, excluding Home Assistant.