Thatâs the point. Lovelace expects the huge ui-lovelace.yaml file, but the lovelace/ directory is more easy to manage.
You will get two copies, but if you, e.g. use a version control system, you donât need to track ui-lovelace.yaml, but only the lovelace/ directory, and you will never have to actually poke around in ui-lovelace.yaml manually - it just has to be there.
EDIT 2019-02-08:
I just got a like on this post, so it seems people are still reading it. If you do, please note that things have changed a bit in the last four months and not everything here is true anymore.
Lovelace is a (kind of) freestanding thing, thatâs not related to your configuration.yaml at all.
Instead it has its own configuration file - ui-lovelace.yaml - see the official documentation.
To use it, you do not add anything to configuration.yaml, not even a lovelace: section - see documentation.
ui-lovelace.yaml can contain !include statements which include one file, nothing else, no !includedir_whatever, only !include - see documentation.
You use the !include statement by typing !include filename.yaml into your ui-lovelace.yaml and it will include filename.yaml at the point where you typed the statement - as explained previously. If you wish to include a file contained in a subdirectory, say mydirectory/myfile.yaml, you type !include mydirectory/myfile.yaml - more info.
Further questions about this are better suited for a separate topic.
Hi! I like the slider-entity-row a lot. It gives the UI a simple and good look! But if i want to add a switch in the same style (not dimable) how should I do?
UPDATE! I found a way! But i would be great to collect switches and light in the same box.
@thomasloven As mentioned before in this topic, Iâm using your fold-entity-row and slider-entity-row Lovelace plugins. Iâm using them together and loving them!
But⊠I would love to align all of the slider-entity-row elements:
default slider-entity-row elements
slider-entity-row elements used as head for fold-entity-row
slider-entity-row elements used as items in a fold
Basically I just want the items that are folded away to align to the left (no empty space in front of them) and have an empty space to the right off all of the rows, except for the one that is the âheadâ of a fold-entity-row.
In the screenshot below you can see the three different types Iâm talking about:
Now, Iâve been trying to override the CSS with an extra stylesheet as mentioned in this topic. This is the CSS I used, but it isnât working at all.
fold-entity-row #rows slider-entity-row .flex { // or maybe even slider-entity-row .flex
margin-right: 37px;
}
fold-entity-row #head slider-entity-row .flex {
margin-right: 0;
}
#rows ul {
padding: 0; // instead of 0 0 0 40px;
}
So, I was wondering whether this is achievable with card-modder, but it looks like I can only override the ââtile-colorâ type of styles that are placed in the âstyleâ attribute in the âhtmlâ tag of Home Assistant.
Is there a way to do this without actually changing the fold-entity-row.js and slider-entity-row.js files? Because I donât want to re-apply these overrides everytime I install a new version of these plugins.
I told you that my cards are added by default. If that doesnât work, I suggest you seek support for the updater/tracker through the appropriate channels.
that you meant they were included by default, hence my follow up question immediately after. No worries though I am glad I have got to the bottom of it even if it isnât working for me.
And thanks for these plugins they are great.
Now to try and find out why my tracker card doesnât seem to work properly!!
Ok, searching the forum for âtracker cardâ to find the original post so that I could ask why these cards donât show, I found this in this thread,
I added ?v=0.1 to the end of the -url: line in my ui-lovelace.yaml (@thomasloven the docs donât mention this) refreshed Lovelace and then pressed Check on the tracker card and now the pop up card appears but with a weird version number:
Thatâs all right. Itâs the git revision hash. My cards get special treatment so I wonât have to bother with updating a version number all the timeâŠ
@thomasloven I have a question about popup-card. Would it be possible for the card to display a more-info dialog but another entity? Example. I have switch.light_salon and I want to open more-info dialog of light.salon entity after click switch.light_salon icon.