mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Adjust doc string for recorder.Recorder.async_periodic_statistics (#70398)
This commit is contained in:
@@ -918,7 +918,10 @@ class Recorder(threading.Thread):
|
|||||||
|
|
||||||
@callback
|
@callback
|
||||||
def async_periodic_statistics(self, now: datetime) -> None:
|
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()
|
start = statistics.get_start_time()
|
||||||
self.queue.put(StatisticsTask(start))
|
self.queue.put(StatisticsTask(start))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user