Fix smhi retry (#50673)

This commit is contained in:
Martin Hjelmare
2021-05-15 18:24:34 +02:00
committed by GitHub
parent 8e38f26978
commit d84962bada

View File

@@ -134,7 +134,9 @@ class SmhiWeather(WeatherEntity):
async def retry_update(self, _): async def retry_update(self, _):
"""Retry refresh weather forecast.""" """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) -> []: async def get_weather_forecast(self) -> []:
"""Return the current forecasts from SMHI API.""" """Return the current forecasts from SMHI API."""