mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Add Label Documentation for segments on Gauge Card (#23243)
This commit is contained in:
parent
4685d633b2
commit
1de60abd9c
@ -94,6 +94,10 @@ segments:
|
|||||||
required: true
|
required: true
|
||||||
description: Color of the segment, may be any CSS color declaration like "red", "#0000FF" or "rgb(255, 120, 0)".
|
description: Color of the segment, may be any CSS color declaration like "red", "#0000FF" or "rgb(255, 120, 0)".
|
||||||
type: string
|
type: string
|
||||||
|
label:
|
||||||
|
required: false
|
||||||
|
description: Label of the segment. This will be shown instead of the value.
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user