It also fixed some oddity in one of my Lovelace dashboards where the fold would not work unless you waited like 5-10 seconds after opening that dashboard. Whatās weird is that the same ābadā code (but many other different cards) opened fine in another dashboard. Anyhow, allās wellā¦
why the double vertical-stack? thereās only 1 card in that second vertical stack? if thats all you have, you could even have it in a top entities: cardā¦
type: entities
entities:
- type: custom:fold-entity-row
head:
entity: light.all_lights
name: ALL LIGHTS
state_color: true # not sure about this indent (never use the state_color, but I think it should be set at the type card level
- entity: [more entity stuff]
Hmmm, you raise a good question. Having 2 vertical-stackās doesnāt seem right (though itās working). Just made a code adjustment and this works also, and makes more sense:
vertical-stack has nothing directly to do with custom:fold-entity-row, itās just that I need a vertical stack card. You can certainly use the fold-entity as you state.
what weāre saying is you can use an entities: card instead of the vertical stack (most of the time, and where not, you can use the custom:hui-element to fix it)
I think we might be getting into the minutia here, but I also wanted vertically-stacked, visibly separate cards, so thatās why I used vertical-stack rather than just a list of entities. I suppose I also could list entities and put dividers between themā¦
Iāve just started to play around with this card, and I like it. One issue Iām seeing is that my state color is not reflected for some entities, where it was before I put them into the fold-entity-row:
EDIT: Actually, Iāve noticed itās not working on any entity thatās not of type slider-entity-row. But the state color was definitely working before.
So that you understand that in the upper photo, this is not a ready-made option, but just two cards have successfully formed and it turned out that the button is expanded, but in fact it does not unfold and does not hide.
I would like to use the Picture Entity, but I canāt figure out how to do it.
Usually, a header toggle appears on cards with multiple light entities to toggle all light entities on the card. In this case, though, the custom fold-entity-row entities are not recognised as lights on the room level and the room is considered to only have one light (sofa). Accordingly, the expected header toggle next to ālivingroomā is not shown and, if forced to show (āshow_header_toggle: trueā), only switches the sofa light.
I will rather accept the non-overwritten light group names than add an extra entity for the room. But the added entity may be a viable option for others, of course