From 05d5cf87a78f76f39350a93e9777a8fb00341cb2 Mon Sep 17 00:00:00 2001 From: Jack Journeyman <145021130+jackjourneyman@users.noreply.github.com> Date: Sat, 3 May 2025 11:29:23 +0100 Subject: [PATCH] Update statistics-graph.markdown Clarify which sensors support long-term statistics --- source/_dashboards/statistics-graph.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_dashboards/statistics-graph.markdown b/source/_dashboards/statistics-graph.markdown index 2860351b4332..6f6c27e7905a 100644 --- a/source/_dashboards/statistics-graph.markdown +++ b/source/_dashboards/statistics-graph.markdown @@ -22,7 +22,7 @@ Screenshot of the statistics graph card with none metered entities and `chart_ty Screenshot of the statistics graph card with a metered entity and `chart_type` `bar`.
-Statistics are gathered every 5 minutes and also hourly for sensors that support it. The 5-minute statistics will be retained for the duration set in the [recorder configuration](/integrations/recorder/#purge_keep_days), and hourly statistics will be retained indefinitely. It will either keep the `min`, `max`, and `mean` of a sensor's value for a specific hour or the `sum` for a metered entity. +Statistics are gathered every 5 minutes and also hourly for sensors with a state_class of measurement, total or total_increasing. The 5-minute statistics will be retained for the duration set in the [recorder configuration](/integrations/recorder/#purge_keep_days), and hourly statistics will be retained indefinitely. It will either keep the `min`, `max`, and `mean` of a sensor's value for a specific hour or the `sum` for a metered entity. If your sensor doesn't work with statistics, check [this](/more-info/statistics/).