mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Adds "limits" configuration to Lovelace sensor docs (#18694)
This commit is contained in:
parent
aca47fa6ad
commit
4ab38ab81c
@ -48,6 +48,21 @@ hours_to_show:
|
|||||||
description: Hours to show in graph.
|
description: Hours to show in graph.
|
||||||
type: integer
|
type: integer
|
||||||
default: 24
|
default: 24
|
||||||
|
limits:
|
||||||
|
required: false
|
||||||
|
description: Limits of the graph Y-axis.
|
||||||
|
type: map
|
||||||
|
keys:
|
||||||
|
min:
|
||||||
|
description: Minimum value of the graph Y-axis.
|
||||||
|
type: float
|
||||||
|
required: false
|
||||||
|
default: "`0` if the entity `unit_of_measurement` is `%`, otherwise minimum value of sample"
|
||||||
|
max:
|
||||||
|
description: Maximum value of the graph Y-axis.
|
||||||
|
type: float
|
||||||
|
required: false
|
||||||
|
default: "`100` if the entity `unit_of_measurement` is `%`, otherwise maximum value of sample"
|
||||||
theme:
|
theme:
|
||||||
required: false
|
required: false
|
||||||
description: Override the used theme for this card with any loaded theme. For more information about themes, see the [frontend documentation](/integrations/frontend/).
|
description: Override the used theme for this card with any loaded theme. For more information about themes, see the [frontend documentation](/integrations/frontend/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user