I am currently trying to get a cleaner lovelace ui by re-organizing my cards. When I started Home Assistant a couple of weeks ago, I didn’t really care and mostly used entity cards for almost everything. Now that I’ve seen other peoples’ amazing configs, I want to make my UI look nicer, too.
Question:
(how) can I insert a divider into an existing card?
Below is one of my cards. There are twoglance cards inside a vertical-stack. What I would like to do is add a divider (custom card) in between separate rooms. I have utilized my advanced editing skills to illustrate what I mean :
Each row has three columns each (except for the last two rows, which are all one room - it has more than one window) displaying open/close status for each door and window as well as temperature readings per room. I was hoping to add a divider to make it more clear which room is which (while I use AZ for Arbeitszimmer (office) and WZ for Wohnzimmer (living room), this is still rather hard to read when you are just glancing at it on your phone. I just rushed upstairs because I thought one door was open (which is supposed to be shut during the day or when we are not inside that room), just to realized that I confused SZ and ZZ. Plus, it’d just look neater when there could be a “header” for each room.
I am aware that I could just use a single card per room, but if possible I’d prefer to keep it this way and insert the divider into this one card; btw. I just realized that I only screenshotted half the card… of course there is an Oben part as well, which you can see in the config below but not in the screenshot.
Thank you, but that is not what I am trying to do. Your solution inserted a divider between the Oben and the Unten card. What I need is one below - entity: sensor.messwerte_arbeitszimmer_temperature, then one below - entity: sensor.messwerte_kuche_temperatur, below - entity: sensor.messwerte_bad_unten_temperature, and so on. So that I have multiple dividers inside each Oben and Unten card.
Your config is not supported by the UI editor:
Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.type` but received `"glance"`.
Falling back to YAML editor.
I do have the custom:text-divider-row installed and am even currently using it.