From bcd05edc6eadb819d97b09e35e555a4bc89dafe3 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 5 Sep 2025 16:08:31 +0200 Subject: [PATCH] Add missing hours to show option for trend graph (#40722) --- source/dashboards/features.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/dashboards/features.markdown b/source/dashboards/features.markdown index 1bbe1c8ea04..74f25fc0774 100644 --- a/source/dashboards/features.markdown +++ b/source/dashboards/features.markdown @@ -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