From 23874d8693e2d20fe55f669643b13e0db6e44f8b Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Sun, 9 May 2021 19:29:23 +0200 Subject: [PATCH] Fix smhi retry --- homeassistant/components/smhi/weather.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/smhi/weather.py b/homeassistant/components/smhi/weather.py index 5458abb1786ca4..0fd808d140120b 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -134,7 +134,9 @@ async def async_update(self) -> None: async def retry_update(self, _): """Retry refresh weather forecast.""" - await self.async_update() + await self.async_update( # pylint: disable=unexpected-keyword-arg + no_throttle=True + ) async def get_weather_forecast(self) -> []: """Return the current forecasts from SMHI API."""