Custom gauge card error

Hi

I’m using 3 custom gauge card for showing some information of my system. But since i’ve updated homeassistant, it isn’t working anymore. Anyone has a solution for this?

Config:

  - icon: mdi:settings
    background: var(--background-image)
    title: System sensors
    type: horizontal-stack
    cards:
      - type: custom:compact-custom-header
      - type: vertical-stack
        cards:
          - type: custom:gauge-card
            title: RAM
            entity: sensor.memory_use
            min: 0
            max: 2000
          - type: custom:gauge-card
            title: Disk Free System
            entity: sensor.disk_free_home
            severity:
              red: 50
              green: 0
              amber: 40
          - type: custom:gauge-card
            title: CPU
            entity: sensor.processor_use
            min: 0
            max: 100

Try this:


Worked for me.
2 Likes

Works like a charm !