forked from home-assistant/core
Fix smhi retry (#50673)
This commit is contained in:
@@ -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."""
|
||||||
|
Reference in New Issue
Block a user