From d84962bada1494ec3abb2be09d626a89082e97b0 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Sat, 15 May 2021 18:24:34 +0200 Subject: [PATCH] Fix smhi retry (#50673) --- 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 5458abb1786..0fd808d1401 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -134,7 +134,9 @@ class SmhiWeather(WeatherEntity): 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."""