Iconcolor bei custom:multiple-entity-row

Hi!

Ich schaffe es zwar, die Farbe des Icons abhängig von einem (beliebigen) Status zu machen, aber nicht, dass ich dem Icon eine bestimmte Farbe zuweise.

type: vertical-stack
title: ""
cards:
  - type: entities
    entities:
      - entity: sensor.solax_pv_current_1
        name: PV1
        icon: mdi:solar-panel
        format: precision1
        type: custom:multiple-entity-row
        state_header: Stärke
        card_mod:
          style: |
            :host {
            {% if is_state('binary_sensor.gartentor_contact', 'on') %}
            --card-mod-icon-color: red;
            {% else %}
            --card-mod-icon-color: orange;
            {% endif %}
            }
        entities:
          - entity: sensor.solax_pv_power_1
            name: Leistung
            format: precision0
          - entity: sensor.solax_pv_voltage_1
            name: Spannung
            format: precision0

Wie müsste mein card_mod code aussehen, um die Iconfarbe zu ändern?

Danke!

Habs geschafft:

        card_mod:
          style: |
            :host {
              --icon-primary-color: orange;
            }