mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Update statistics-graph.markdown (#38859)
This commit is contained in:
parent
88ff53de24
commit
e44b153829
@ -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`.
|
Screenshot of the statistics graph card with a metered entity and `chart_type` `bar`.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
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 <abbr title="Minimum">`min`</abbr>, <abbr title="Maximum">`max`</abbr>, and <abbr title="Average">`mean`</abbr> of a sensor's value for a specific hour or the <abbr title="Total">`sum`</abbr> 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 <abbr title="Minimum">`min`</abbr>, <abbr title="Maximum">`max`</abbr>, and <abbr title="Average">`mean`</abbr> of a sensor's value for a specific hour or the <abbr title="Total">`sum`</abbr> for a metered entity.
|
||||||
|
|
||||||
If your sensor doesn't work with statistics, check [this](/more-info/statistics/).
|
If your sensor doesn't work with statistics, check [this](/more-info/statistics/).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user