Reset Lovelace

Hi!

Is there any way to get Lovelace back to the auto-configuration mode?

The first time i activated Lovelace and tried switched to configuration mode it notified me that it would no longer automatically populate the view…

I would like to revert that… Anyone know how?

3 Likes

You could try removing .storage/lovelace which is the JSON config file.

11 Likes

in the config file there should be these lines

lovelace:
  mode: yaml

take then out

your home work read this

Since I did not maually change anything in the config files I did not have
lovelace:
mode: yaml
in my config…
neither did I have a <config>/ui-lovelace.yaml in my config folder.

Deleting .storage/lovelace did not do the trick eihter…

I’ll just disable Lovalce for now and revert to the old UI.

I’m in the process of adding devices and want them to pop up automatically…

Once that’s done I’ll take the time tom customize the UI with Lovelace.

1 Like

Yes worked for me.

Did removing .storage/lovelace make your Lovelace revert to autoconfigure behaviour?

I deleted that, restarted, and then added a new sensor.

I automatically appears in the old UI but not in Lovelace.

I’m on version 0.86.0 by the way.

1 Like

I have the same question / problem. I went via the UI and the only thing new is the .storage/lovelace file (which I deleted + restarted). But when I click on the “Configure UI” it just takes me there and doesn’t “warn” me. New sensors are not showing up. How do you also reset the warning?

This worked for me also.

Worked for me too. Had to CTRL + F5 to see result in browser which initially caught me out. I upgraded to 0.86.3 with a ui-lovelace.yaml in place and this became the persistent interface after the update which I didn’t want. Removing .storage/lovelace and rebooting fixed everything up.

1 Like

Delete the home-assistant_v2.db and lovelace file from .storage, everything will be back.

Just deleting the lovelace file from .storage worked for me. Then restart HASS, and I viewed it in an incognito window, and it populated it with all the new devices.
I didn’t have to delete the .db file.

I just went through this. I can confirm that all you have to do is delete .storage/lovelace, and then restart HASS. Lovelace UI does not reset until the server is restarted.

There is no need to delete any .db files.

Hi Guys, absolute noob here, in my config folder, i can’t find any .storage folder, where shall i look for it? I have ssh / samba access. Any help would be greatly appreciated.

1 Like

I realize this is a late reply and I assume you have since found your answer - but I am going to answer it anyway for anyone else looking for it:

For me the full path was: /volume1/docker/homeassistant/config/.storage

2 Likes

I can confirm, deleting the file “lovelace” in the folder .storage worked for me.
If you access your config folder via Samba, please note that .storage is a hidden folder.

2 Likes

Perhaps I am a bit late. I am running hass on my pi 4. I can access the lovelace file from the file explorer but am not allowed to delete it.

Complete noob here but I just installed home assistant using the manual installation guide. Tried to edit the UI and now cant revert back to the original one

There’s an easy way to do this now which doesn’t involve deleting any files or the use of any add-ons. Here are the exact steps.

  1. On your Lovelace dashboard, select the “3 dots” in the top right corner and enter “Configure UI” mode.
  2. Press this same button again and this time select “Raw configuration editor”
  3. On this page you will see a whole bunch of code, simply select everything here and delete it.
  4. Now press “Save” button in the right
  5. It will ask “Are you sure you want to remove your Lovelace UI configuration?” simply hit the “YES” button.

Now you’ll be back to the default auto-generated one.

46 Likes

As a note, this the method provided by @SeanM only works on the desktop site. When trying it in the Android app or the mobile site, it generates an error about the validity of the configuration.

1 Like

Thank you!

Could someone give me a hint how to get acces to this folder? I’m running HA on Hyper-V under Win10. I also accidentially deleted the auto Lovelace Dashboard, but I cannot figure out how to delete .storage/lovelace