Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Increased timeout for requesting all service data to 15s.
  • Loading branch information
Pigotka authored Nov 15, 2023
1 parent fb430ab commit 616b29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/jablotron_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def _async_update_data(self):

# Note: asyncio.TimeoutError and aiohttp.ClientError are already
# handled by the data update coordinator.
async with async_timeout.timeout(10):
async with async_timeout.timeout(15):
is_first_update: bool = self.session_id is None
if is_first_update:
self.session_id = await self.hass.async_add_executor_job(
Expand Down

0 comments on commit 616b29a

Please sign in to comment.