mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Increase timeout setting up IPMA (#33194)
This commit is contained in:
committed by
Paulus Schoutsen
parent
9365ba3fcf
commit
d54d7c6958
@@ -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