Card Mod mit Swipe Card funktioniert nicht mehr

Gerade habe ich festgestellt das in meiner Swipe Card der Card Mod Code nicht mehr funktioniert. Ich weiß leider nicht wie lange das schon so ist.

Mein Code sollte richtig sein da ich mir sicher bin das es auch schon entsprechend korrekt angezeigt wurde.

type: custom:swipe-card
parameters:
  autoplay:
    delay: 5000
  effect: coverflow
coverflowEffect: null
rotate: 60
slideShadows: false
cards:
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }
    entities:
      - sensor.lichterkette_switch_0_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 30
    line_width: 3
    animate: true
    name: Lichterkette
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }
    entities:
      - sensor.shelly1pmminig3_34b7daca8144_switch_0_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 20
    line_width: 3
    animate: true
    name: Rocky
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }
    entities:
      - sensor.shellyplusplugs_e86beaea9818_switch_0_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 20
    line_width: 3
    animate: true
    name: Geschirrspüler
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }  
    entities:
      - sensor.kuhlschrank_switch_0_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 20
    line_width: 3
    animate: true
    name: Kühlschrank
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }  
    entities:
      - sensor.gefrierschrank_switch_0_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 20
    line_width: 3
    animate: true
    name: Gefrierschrank
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth
  - type: custom:mini-graph-card
    card_mod:
      style: |
        ha-card {
          --ha-card-background: rgba(0,0,0,0.3);
          --ha-card-border-radius: 15px;
          --ha-card-border-color: transparent;
        }  
    entities:
      - sensor.waschmaschine_power
    hour24: true
    decimals: 1
    smoothing: true
    hours_to_show: 24
    points_per_hour: 20
    line_width: 3
    animate: true
    name: Waschmaschine
    update_interval: 1
    show:
      labels: false
    color_thresholds:
      - value: 0
        color: "#00FF00"
      - value: 500
        color: "#f39c12"
      - value: 600
        color: "#d35400"
      - value: 800
        color: "#c0392b"
    color_thresholds_transition: smooth

Zumindest auf der github seite der swipe card unter issues ist nichts darüber zu finden. Hat noch jemand das Problem?

Bei mir funktioniert* der Code ohne Probleme.


Wenn ich was am card-mod code ändere, ändert sich auch die Karte.

  • Hast du mal “Strg + F5” gedrückt um Neuzuladen und den vorhandenen Cache zu ignorieren?
  • Hast du mal geguckt ob du alles aktuell hast?
    ich habe card-mod 3.4.4

LG
Tobi

* mit geänderten Entitäten

Hab ich gerade versucht und auch nochmal Cache, Cookies und website daten von Home Assistant gelöscht. Ohne Erfolg.

Habe die version 3.5.0 von Card Mod :confounded:

Edit #1: Ich versuche mal Version 3.4.4 zu installieren.
Edit #2: Mit 3.4.4 funktioniert es wieder. Ich muss dann mal auf github bei card mod bescheid geben.

geh mal auf 3.4.4 :

This reverts some changes in the previous version 3.5.0.
Those may show up in a future 4.0 instead…
Fixes issues with entities card in Home Assistant 2025.1

Edit:

3.5.0 wurde schon vor Tagen zurück gezogen.

Meine beiarbeiter psot über deinem hat sich überschnitten. Mit 3.4.4 funktioniert es wieder. Ich muss dann mal auf github bei card mod bescheid geben. Das 3.5.0 zurückgezogen wurde habe ich nicht mitbekommen.

1 „Gefällt mir“

Bei mir hatte HACS auch ein Update angeboten von 3.5.0 → 3.4.4 hast du das vielleicht weggedrückt?

Also hat bei dir HA ein downgrade für Card mod angeboten? Kann mich nicht erinnern ob das bei mir auch so war und ich es ignoriert habe.