MUSHROOM - "icon_type: entity-picture" Größe anpassen

type: custom:mushroom-person-card
entity: person.roberto_cravallo
icon_type: entity-picture
layout: horizontal
fill_container: true
hold_action:
  action: none
double_tap_action:
  action: none
tap_action:
  action: navigate
  navigation_path: /dashboard-idaw/unsere_karte_robert
primary_info: state
secondary_info: last-updated
name: Zone
card_mod:
  style: |
    ha-card {
      height: 70px !important;
    }
    {% if is_state('switch.steckdose_elippsentrainer', 'on') %}
      ha-card {
        --ha-card-border-radius: 10px;
        --ha-card-border-color: #990000;
        --ha-card-border-width: 2px;
        --card-mod-icon-color: white;
    {% endif %}
    }

    ha-state-icon {
      --icon-symbol-size: 46px;
    }

" --icon-symbol-size:" funktioniert je klasse, wenn “icon_type:” halt “ICON” wäre. Ist aber " entity-picture" und da klappt es dann nicht mehr. Habe jetzt eine Weile im Netz gesucht, nichts gefunden.

Hat jemand eine Ahnung wie bzw. ob man auch “entity-picture” mit CARD_MOD skalieren kann?

Freue mich auf eine Antwort…

Moin, bei Cardmod + Mushroom findest du eigentlich alles was möglich ist in dem Thread im englischen Forum:

und wenn man den Thread nach entity-picture durchsucht findest du bei der ersten Erwähnung in Post 71 gleich die Antwort:

card_mod:
  style: 
    mushroom-shape-avatar$: |
      .container {
        --icon-size: 200px;
      }

LG

1 „Gefällt mir“

Auf der Seite war ich schon öfter, so auch heute. Trotzdem habe ich das so nicht “gefunden”. Danke!