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?
123
(Taras)
2
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)
123
(Taras)
4
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!
123
(Taras)
6
Try this: shutdown Home Assistant, erase the file, then restart Home Assistant.
2 Likes
Thanks this helped me too.