New to HA within the last few days and haven’t coded anything in nearly 20 years. I currently setup my lovelace dashboard so it pulls up a separate view when I use the IOS app. The way it is currently setup it uses a bunch of fold-entity-rows for all of the different areas of my house. That all works fine but since it’s not in card it is all transparent and doesn’t look too pretty.
Decided to try and make it into a folding entity card, which works, but the toggle switch in the header doesn’t do anything like it does with a normal entity card. The toggle switch for the lights within the cards work but I would prefer to not have to unfold each card to see if something is on if possible. Here is the code I am using, I’m sure its probably a simple fix but I have no idea. I’ve made it this far just frankensteining things together.
entities:
- entities:
- entity: light.living_room_lights
toggle: true
type: 'custom:slider-entity-row'
- fan.living_room_fan
- lock.front_door
head:
label: .
type: section
type: 'custom:fold-entity-row'
title: Living Room
show_header_toggle: true
type: entities
The toggle switch on the 2nd line from the bottom is the one thats there but does nothing. I also have a period in the label section below head because if it’s not there the arrow to fold and unfold the card is too close to the toggle switch. Not sure if there is a way to just make that blank instead of a .