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…