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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."""