I restarted home assistant from scratch, as my raspberry pi’s SD card corrupted and I lost everything.
This time, I decided to install home assistant on my existing Synology NAS under docker environment. It is a logical choice because it the Synology NAS is one device which is on all the time. And it has RAID protection which will prevent what happened to me last time from happening again.
I was playing with this new installation for weeks until I get to the UI part. This entire lovelace is new thing to me, so I really want to give it a try. It is until then I discover my official docker-image installation is a bit broken… and I need you guys help.
I installed HACS by putting files to the right place, it seems to work (please see firsts attached screenshot).
Then, I tried to install custom cards without much luck… then, I notice that I don’t have the “front end” tab:
First question: am I suppose to have a “frontend” tab in HACS and all the custom cards suppose be there?
Then, I tried to install different themes via HACS without much luck. I can see all the files are in place inside my home Assistant volume (i use hostpath to mount the config directory to my NAS host). But none of installation, restart has any effect.
Yes, I went through the document. it doesn’t make any sense whatsoever. Remember, for more than one year, I edited configuration.yaml by hand, so it’s not that I am new to this, but the instruction on “frontend” and “theme” is utterly confusing
(I don’t want “happy” or “sad”, I just want to change to dark theme all the time, period… and the “frontend” documentation didn’t say anything about that)
Then, I tried to activate UI via GUI by go to my “profile”, I tried to activate the theme there, but the theme is gray out:
Second question: what have I done wrong? Do I need to add “theme” to “frontend” in my configuration.yaml file manually? If yes, what is the appropriate syntax after “themes”?
Dig further, rather it’s custom card or what not, documents says that i need to make sure the resources are there in the ui-lovelace.yaml.
And here is what make me really confused: I don’t have ui-lovelace.yaml, EVER. Since I never had ui-lovelace.yaml, I naturally don’t know how to construct/reconstruct it.
I do see a filename called “lovelace
” in .storage
directory. It looks like a json file. But I have tried to manually edit files in .storage directory and it tend to cause my home assistant to crash, thus, I am a bit reluctant to edit them myself.
Third question: Where do I get this “ui-lovelace.yaml” ? Can I construct it from the .storage/lovelace file? Remember, I am using the official home Assistant docker image, but it is still not working. howcome? Do I even need this ui-lovelace.yaml file to apply themes / use custom cards?
Most importantly, how to apply themes and use custom cards?
Thanks in advance
Harv