Gauge Card


The Gauge card is a basic card that allows visually seeing sensor data.

Screenshot of the gauge card Screenshot of the gauge card.

type: gauge
entity: sensor.cpu_usage

Configuration Variables

type stringRequired

gauge

entity stringRequired

Entity id to show

name string(Optional, default: Entity Name)

Name of Gauge Entity

unit string(Optional)

Unit of Measurement given to data

Default:

Unit Of Measurement given by entity

theme string(Optional)

Set to any theme within themes.yaml

min integer(Optional, default: 0)

Minimum value for graph

max integer(Optional, default: 100)

Maximum value for graph

severity map(Optional)

Allows setting of colors for different numbers

green integerRequired

Value from which to start green color

yellow integerRequired

Value from which to start yellow color

red integerRequired

Value from which to start red color

Examples

Title and Unit of Measurement Example:

type: gauge
name: CPU Usuage
unit: '%'
entity: sensor.cpu_usage

Screenshot of the gauge card with custom title and unit of measurement Screenshot of the gauge card with custom title and unit of measurement.

Define the severity map:

type: gauge
name: With Severity
unit: '%'
entity: sensor.cpu_usage
severity:
  green: 0
  yellow: 45
  red: 85