mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
mill
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
parent
04192bbdc9
commit
d904883937
@ -76,7 +76,7 @@ class MillHistoricDataUpdateCoordinator(DataUpdateCoordinator):
|
||||
"""Update historic data via API."""
|
||||
now = dt_util.utcnow()
|
||||
self.update_interval = (
|
||||
timedelta(hours=1) + now.replace(minute=0, second=0) - now
|
||||
timedelta(hours=1) + now.replace(minute=1, second=0) - now
|
||||
)
|
||||
|
||||
recoder_instance = get_instance(self.hass)
|
||||
|
Loading…
x
Reference in New Issue
Block a user