From 68491fc7dad495ad2af89d3526850042fcd2a749 Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Sun, 12 May 2024 14:33:24 +0200 Subject: [PATCH] Increaste timeout to 60s --- custom_components/irm_kmi/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/irm_kmi/coordinator.py b/custom_components/irm_kmi/coordinator.py index d0ab859..1be0cf3 100644 --- a/custom_components/irm_kmi/coordinator.py +++ b/custom_components/irm_kmi/coordinator.py @@ -187,7 +187,7 @@ class IrmKmiCoordinator(TimestampDataUpdateCoordinator): if frame.get('uri', None) is not None: coroutines.append( self._api_client.get_image(frame.get('uri'), params={'rs': STYLE_TO_PARAM_MAP[self._style]})) - async with async_timeout.timeout(20): + async with async_timeout.timeout(60): images_from_api = await asyncio.gather(*coroutines) _LOGGER.debug(f"Just downloaded {len(images_from_api)} images")