Titel/Überschrift einer Entitäten Karte anpassen

Das war aber die Frage :wink:

Eine Stack-Karte zu manipulieren, geht nach meinem Kenntnisstand nur mit custom:mod-card .


type: custom:mod-card
style:
  hui-vertical-stack-card$: |
    .card-header {
      font-size: 8px !important;
      padding: 0 4px !important;
      background: red; /* debug */
    }
card:
  type: vertical-stack
  title: Test
  cards:
    - type: entities
      title: Test
      entities:
        - entity: switch.tv_timer
      card_mod:
        style: |
          ha-card {
          --mdc-icon-size: 25px;
          }
          .card-content div {
            margin-top: 0px !important;
            margin-bottom: 0px  !important;
            height: 45px;
            }  
          .card-content {
            padding-top: 0px;
            padding-bottom: 5px;
            }
          .card-header { font-size: 8px; }