Skip to content

Commit

Permalink
Schedule refresh fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-r committed Oct 23, 2024
1 parent f2e05cc commit 396e7eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/nissan_connect/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def set_next_interval(self):
if interval != (self.update_interval.seconds / 60):
_LOGGER.debug(f"Changing next update interval to {interval} minutes")
self.update_interval = timedelta(minutes=interval)
super()._schedule_refresh()

async def _async_update_data(self):
"""Fetch data from API."""
Expand Down

0 comments on commit 396e7eb

Please sign in to comment.