diff --git a/custom_components/watersmart/config_flow.py b/custom_components/watersmart/config_flow.py index 958cbb0..0efe276 100644 --- a/custom_components/watersmart/config_flow.py +++ b/custom_components/watersmart/config_flow.py @@ -42,7 +42,7 @@ async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str, ) try: - async with timeout(10): + async with timeout(30): account_number = await client.async_get_account_number() except (ClientConnectorError, TimeoutError, ClientError) as error: raise CannotConnect from error diff --git a/custom_components/watersmart/coordinator.py b/custom_components/watersmart/coordinator.py index b88fbf7..bc16e32 100644 --- a/custom_components/watersmart/coordinator.py +++ b/custom_components/watersmart/coordinator.py @@ -64,7 +64,7 @@ def __init__( async def _async_update_data(self) -> list[dict[str, Any]]: """Update data via library.""" try: - async with timeout(10): + async with timeout(30): result = { "hourly": await self.watersmart.async_get_hourly_data(), }