The documentation is unclear as to what folders you need in order to use lovelace in yaml mode, e.g. ui-lovelace.yaml. The docs mention:
<config>/ui-lovelace.yaml
Is the root of the home-assistant directory alongside of configuration.yaml? People mention local and www folders. Are there any examples out there that explain the folder structure?
So I started doing that last week and was having a lot of trouble as well. I finally got them working, only by putting a lovelace folder directly inside of the config directory (I’ve tried them in a different folder, but it didn’t work).
That took a lot of trial, error, and aggravation to get working. I’m still trying to figure out how to use anchors, as well, to reuse the same custom-cards within different vertical/horizontal stacks, but that’s for another day.
I set up my lovelace almost exactly the same. Having an issue where lovelace files are not refreshing, even with the F12/DevMode/HardRefresh trick. The only way I can get them to refresh is to purposely create an error in the base ui-lovelace file, refresh, then fix the file and refresh again.
Have you had similar issues? Can’t figure out what’s going on. Almost seems like HA has some kind of internal lovelace cache or something, but I didn’t think that was the case.
Thank you for this! I tried to do this and it didn’t work so I wasn’t sure it would. Seeing this confirmed that it should work for me, and now I have that popup clutter in a separate file, which makes me sooo happy.