thomasloven / lovelace-fold-entity-row

🔹 A foldable row for entities card, containing other rows
MIT License
561 stars 37 forks source link

Label get same color as background + now icon for head #148

Closed elgeniskogen closed 3 years ago

elgeniskogen commented 3 years ago

When I use the card with deafult light theme I see now label as it is written in same color as background. Also it would be great to be able to add an icon to the head.

Code used:

type: entities
entities:

  - type: 'custom:fold-entity-row'
    head:
      type: section
      label: Hvem har lagt seg?
    entities:
      - input_boolean.erik_lagt_seg
      - input_boolean.liv_lagt_seg
thomasloven commented 3 years ago

The section row is a feature of Home Assistant, not of fold-entity-row. And you can put any row that goes in an entities card as the head, so pick one that has icon support, such as template-entity-row.