mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Increase timeout setting up IPMA (#33194)
This commit is contained in:
parent
d979648c01
commit
f150c9c65c
@ -104,7 +104,7 @@ async def async_get_api(hass):
|
||||
|
||||
async def async_get_location(hass, api, latitude, longitude):
|
||||
"""Retrieve pyipma location, location name to be used as the entity name."""
|
||||
with async_timeout.timeout(10):
|
||||
with async_timeout.timeout(30):
|
||||
location = await Location.get(api, float(latitude), float(longitude))
|
||||
|
||||
_LOGGER.debug(
|
||||
|
Loading…
x
Reference in New Issue
Block a user