mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Resolving Reviews
This commit is contained in:
parent
ef6b4d94e0
commit
803eede22b
@ -10,13 +10,18 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Gauge card is a basic card that allows visually seeing sensor data
|
Gauge card is a basic card that allows visually seeing sensor data.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/lovelace/lovelace_gauge_card.gif' alt='Screenshot of the gauge card'>
|
<img src='/images/lovelace/lovelace_gauge_card.gif' alt='Screenshot of the gauge card'>
|
||||||
Screenshot of the gauge card.
|
Screenshot of the gauge card.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- type: gauge
|
||||||
|
entity: sensor.cpu_usuage
|
||||||
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
type:
|
type:
|
||||||
required: true
|
required: true
|
||||||
@ -38,41 +43,35 @@ unit_of_measurement:
|
|||||||
min:
|
min:
|
||||||
required: false
|
required: false
|
||||||
description: Minimum value for graph
|
description: Minimum value for graph
|
||||||
type: number
|
type: integer
|
||||||
default: 0
|
default: 0
|
||||||
max:
|
max:
|
||||||
required: false
|
required: false
|
||||||
description: Maximum value for graph
|
description: Maximum value for graph
|
||||||
type: number
|
type: integer
|
||||||
default: 100
|
default: 100
|
||||||
severity:
|
severity:
|
||||||
required: false
|
required: false
|
||||||
description: Allows setting of colors for different numbers
|
description: Allows setting of colors for different numbers
|
||||||
type: object
|
type: map
|
||||||
{% endconfiguration %}
|
keys:
|
||||||
|
green:
|
||||||
## {% linkable_title Severity Variables %}
|
required: true
|
||||||
|
description: Value from which to start green color
|
||||||
If you define the severity object, these are the required options:
|
type: integer
|
||||||
|
yellow:
|
||||||
{% configuration %}
|
required: true
|
||||||
green:
|
description: Value from which to start yellow color
|
||||||
required: true
|
type: integer
|
||||||
description: Value from which to start green color
|
red:
|
||||||
type: number
|
required: true
|
||||||
yellow:
|
description: Value from which to start red color
|
||||||
required: true
|
type: integer
|
||||||
description: Value from which to start yellow color
|
|
||||||
type: number
|
|
||||||
red:
|
|
||||||
required: true
|
|
||||||
description: Value from which to start red color
|
|
||||||
type: number
|
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
|
||||||
Basic example:
|
Title and Unit of Measurement Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- type: gauge
|
- type: gauge
|
||||||
@ -86,7 +85,7 @@ Basic example:
|
|||||||
Screenshot of the gauge card with custom title and unit of measurement.
|
Screenshot of the gauge card with custom title and unit of measurement.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Define severity object:
|
Define the severity map:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- type: gauge
|
- type: gauge
|
||||||
|
Loading…
x
Reference in New Issue
Block a user