Increase timeout setting up IPMA (#33194)

This commit is contained in:
Diogo Gomes 2020-03-24 12:17:31 +00:00 committed by Paulus Schoutsen
parent 9365ba3fcf
commit d54d7c6958

View file

@ -104,7 +104,7 @@ async def async_get_api(hass):
async def async_get_location(hass, api, latitude, longitude): async def async_get_location(hass, api, latitude, longitude):
"""Retrieve pyipma location, location name to be used as the entity name.""" """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)) location = await Location.get(api, float(latitude), float(longitude))
_LOGGER.debug( _LOGGER.debug(