Increase timeout setting up IPMA (#33194)
This commit is contained in:
1 parent
9365ba3fcf
commit
d54d7c6958
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user