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 in needle mode.
To add the Gauge card to your user interface, click the menu (three dots at the top right of the screen) and then Edit Dashboard. Click the “Add Card” button in the bottom right corner and select Gauge from the card picker. All options for this card can be configured via the user interface.
Alternatively, the card can be configured using YAML:
type: gauge
entity: sensor.cpu_usage
Configuration Variables
Unit of measurement given to data.
Unit of measurement given by entity
Override the used theme for this card with any loaded theme. For more information about themes, see the frontend documentation.
Allows setting of colors for different numbers.
List of colors and their corresponding start values. Segments will override the severity settings.
Examples
Title and unit of measurement:
type: gauge
name: CPU Usage
unit: '%'
entity: sensor.cpu_usage
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
Multiple segments:
Screenshot of the gauge card with multiple colored segments.
type: gauge
entity: sensor.kitchen_humidity
needle: true
min: 20
max: 80
segments:
- from: 0
color: '#db4437'
- from: 35
color: '#ffa600'
- from: 40
color: '#43a047'
- from: 60
color: '#ffa600'
- from: 65
color: '#db4437'