So I decided today to try the configure UI portion of lovelace. I went to the raw editor, copied, pasted my old yaml file and hit save. Then I realized I had not actually hit copy, so I really pasted yaml from my configuration file.
Lovelace then decided it hated me, since I dumped a bunch of configuration data into it. Now when I try to view lovelace I just get a message that system log write was called, and in the log is a message about how chunk.js:5746:1881 TypeError: views is undefined.
I cannot get back to the editor, I cannot get to any page to edit the Lovelace in the UI. I tried manually editing the lovelace file in the .storage folder, no dice, I tried deleting the file, no dice.
Anyone have an idea how to get lovelace working again?
ssh as root into your ha host.
cd /config/.storage
rm lovelace (delete the lovelace file and start over)
Personal opinion. I’ve used it and gave it a lot of leeway assuming a learning curve on my end but… I went back to manually editing ui-lovelace.yaml… I feel the online lovelace editor is far from ready for prime time.
So I did blank out the file that didn’t fix it, then I deleted it and it didn’t fix it. HA refused to load anything. Finally I figured out I had to restart the server after deleting the file.