Lovelace 'configure UI' not working

I migrated from RPI to a NUC to have more power on my home assistant, but I am experiencing problems with Lovelace.

Lovelace only works within YAML mode, when I try to use Lovelace in the browser I am getting this error in the frontend:

### Expecting value: line 1 column 1 (char 0)

Does anyone know how to solve this problem?

If you have this in your configuration file:

lovelace:
  mode: yaml

then the Lovelace UI expects to find its content in a file called ui-lovelace.yaml. Does this file exist? If it does, are its contents valid?

Yes, when I use that I can use Lovelace via yaml file but I want to configure it via the frontend, so when I comment out this lines:

lovelace:
  mode: yaml

I am getting this error on my frontend:

### Expecting value: line 1 column 1 (char 0)

OK. Check if you have this file:

config/.storage/lovelace

.storage is a hidden sub-directory of your configuration folder.

Yes, I have that file but it is empty!

Try this: shutdown Home Assistant, erase the file, then restart Home Assistant.

2 Likes

Yes, that did the trick!

Thank you very much…!

Thanks this helped me too.