Skip to content

Commit

Permalink
fix: Fixed intelligent coordinator update frequency (thanks @Pixel-Gavin
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Pixel-Gavin committed Oct 13, 2023
1 parent 13fe290 commit 8e1f80c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def async_update_intelligent_dispatches_data():
update_method=async_update_intelligent_dispatches_data,
# Because of how we're using the data, we'll update every minute, but we will only actually retrieve
# data every 30 minutes
update_interval=timedelta(minutes=COORDINATOR_REFRESH_IN_SECONDS),
update_interval=timedelta(seconds=COORDINATOR_REFRESH_IN_SECONDS),
always_update=True
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def async_update_intelligent_settings_data():
_LOGGER,
name="intelligent_settings",
update_method=async_update_intelligent_settings_data,
update_interval=timedelta(minutes=COORDINATOR_REFRESH_IN_SECONDS),
update_interval=timedelta(seconds=COORDINATOR_REFRESH_IN_SECONDS),
always_update=True
)

Expand Down

0 comments on commit 8e1f80c

Please sign in to comment.