From 9761a7310ec9a86846f2de2b062969822ddb4bc5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 21 Apr 2022 19:04:42 -1000 Subject: [PATCH] Adjust doc string for recorder.Recorder.async_periodic_statistics (#70398) --- homeassistant/components/recorder/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index fe5dbb2ef65..35a554b7053 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -918,7 +918,10 @@ class Recorder(threading.Thread): @callback def async_periodic_statistics(self, now: datetime) -> None: - """Trigger the hourly statistics run.""" + """Trigger the statistics run. + + Short term statistics run every 5 minutes + """ start = statistics.get_start_time() self.queue.put(StatisticsTask(start))