mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Fix smhi retry (#50673)
This commit is contained in:
parent
8e38f26978
commit
d84962bada
@ -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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user