Problems configuring the mini graph card

Hello

I have a problem configuring the mini graph card.

I have in a stack first above three thermostats in a swipe card. This works fine.
In the middle I have the mini graph card, this makes problems.
At the bottom I have an entity card with the battery sensors.

My problem is now the following:
I want to work with a gradient on both lines. Each line with different colors and
values. But when I work with color_thresholds:, this somehow does not work.

I tried to configure each entity individually by adding the respective additions under each entity.

Maybe someone of you can tell me why my line customizations are not working?

Thanks a lot

cards:
  - cards:
      - cards:
          - entity: climate.wohnzimmer_links
            type: custom:simple-thermostat
            layout:
              step: row
            header: true
            control: false
          - entity: climate.wohnzimmer_rechts
            type: custom:simple-thermostat
            layout:
              step: row
            header: true
            control: false
        type: custom:swipe-card
    type: horizontal-stack
  - cards:
      - align_state: center
        name: Temperatur & Luftfeuchtigkeit
        align_header: center
        show:
          icon: false
        entities:
          - entity: sensor.fritz_dect_440_wohnzimmer_temperatur
            name: Temperatur
            show_state: true
            color_thresholds:
              - value: 0
                color: '#58D3F7'
              - value: 20
                color: '#F3F781'
              - value: 22
                color: '#F78181'
          - entity: sensor.fritz_dect_440_wohnzimmer_luftfeuchtigkeit
            name: Luftfeuchtigkeit
            show_state: true
            color_thresholds:
              - value: 0
                color: '#58D3F7'
              - value: 40
                color: '#A9F5A9'
              - value: 60
                color: '#58D3F7'
        type: custom:mini-graph-card
    type: horizontal-stack
  - cards: null
    type: glance
    entities:
      - entity: sensor.wohnzimmer_links_batterie
        name: links
      - entity: sensor.fritz_dect_440_wohnzimmer_batterie
        name: Dect 440
      - entity: sensor.wohnzimmer_rechts_batterie
        name: rechts
type: custom:vertical-stack-in-card
style: |
  ha-card {
    --st-spacing: 2px;
  }