- type: section must not be right
You gotta follow the documents. You canât just start making up stuff and expect it to work. What do you expect this âsectionsâ card to do?
Well theres a shit ton of documents hahaâŚand most only cover the basics. I will keep looking.
Looks like I need to make better use of entities and cards in my yaml, but again, docs are pretty basic.
Well, what do you mean by âsectionâ?
I think Iâm mistaking a section for a cardâŚjust wanted to break those light areas up into their own sectionâŚor card.
Well I for one am confused because I just looked at your lovelace and it does not look⌠ânormalâ. It looks like youâre using custom cards all over the place. But whatâs odd is that they appear to be the custom row cards, not full cards.
Typically to break things up into âsectionsâ, you end up using âviewsâ and âentitiesâ cards. Take a look at the demo video. Learn how to manipulate the UI with the 3 dots. Itâll start to make sense when you do that.
type: section
is a special entity for use on an entities card. You use it in a list of entities to split it up within the card.
For example, in your last post above, you could use it on your Main Level card and have a thin line separating different parts of the card. Here is my Lights card on my main screen. You can see Iâve used the section to split the lights up into different rooms.
Here is the code for the start of this card
show_header_toggle: true
title: Lights
type: entities
entities:
- label: Bedroom # This is my first section with a label
type: section
- entity: light.chriss_lamp
icon: 'mdi:lamp'
type: 'custom:slider-entity-row'
- entity: light.lisas_lamp
icon: 'mdi:lamp'
type: 'custom:slider-entity-row'
- label: Dining # Second section
type: section
- entity: light.dining
icon: 'mdi:ceiling-light'
type: 'custom:slider-entity-row'
Cool!
I had no idea that even existed.
I use âdividerâ in a few cards. Maybe I can find a use for âsection:â now too.
There are a few different ones. See the following link for a bunch of different Special Row Elements.
Thanks.
Iâve been to that page a few times before.
I guess it pays to continue to scroll down.
is it possible to hide the line? in between the title and the âsectionâ?