Skip to content

Commit 1158a29

Browse files
Mryckfabaff
authored andcommitted
Fix example for the Gauge card (home-assistant#7777)
1 parent 2fef956 commit 1158a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_lovelace/gauge.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Title and Unit of Measurement Example:
8080
```yaml
8181
- type: gauge
8282
title: CPU Usuage
83-
unit_of_measurement: '%'
83+
unit: '%'
8484
entity: sensor.cpu_usage
8585
```
8686

@@ -94,7 +94,7 @@ Define the severity map:
9494
```yaml
9595
- type: gauge
9696
title: With Severity
97-
unit_of_measurement: '%'
97+
unit: '%'
9898
entity: sensor.cpu_usage
9999
severity:
100100
green: 0

0 commit comments

Comments
 (0)