mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
Add missing hours to show option for trend graph (#40722)
This commit is contained in:
parent
38ec1a41c3
commit
bcd05edc6e
@ -775,6 +775,7 @@ Widget that displays the a trend of the history for a numeric [sensor](/integrat
|
||||
```yaml
|
||||
features:
|
||||
- type: "trend-graph"
|
||||
hours_to_show: 24
|
||||
```
|
||||
|
||||
{% configuration features %}
|
||||
@ -782,6 +783,11 @@ type:
|
||||
required: true
|
||||
description: "`trend-graph`"
|
||||
type: string
|
||||
hours_to_show:
|
||||
required: false
|
||||
description: Hours to show in graph. Minimum is 1 hour. Big values can result in delayed rendering, especially if the selected entities have a lot of state changes.
|
||||
type: integer
|
||||
default: 24
|
||||
{% endconfiguration %}
|
||||
|
||||
## Update actions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user