diff --git a/custom_components/tibber_prices/coordinator.py b/custom_components/tibber_prices/coordinator.py index 7793c67..00df7a2 100644 --- a/custom_components/tibber_prices/coordinator.py +++ b/custom_components/tibber_prices/coordinator.py @@ -106,7 +106,7 @@ class TibberPricesDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]): # Cancel any existing timer if self._quarter_hour_timer_handle: - self._quarter_hour_timer_handle() + self._quarter_hour_timer_handle.cancel() # Schedule the refresh self._quarter_hour_timer_handle = self.hass.loop.call_at(