Increase connection timeout in CalDAV (#127727)

This commit is contained in:
Michael 2024-10-07 08:43:32 +02:00 committed by GitHub
parent 7ec911c4df
commit 4e650ec1ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
username=entry.data[CONF_USERNAME], username=entry.data[CONF_USERNAME],
password=entry.data[CONF_PASSWORD], password=entry.data[CONF_PASSWORD],
ssl_verify_cert=entry.data[CONF_VERIFY_SSL], ssl_verify_cert=entry.data[CONF_VERIFY_SSL],
timeout=10, timeout=30,
) )
try: try:
await hass.async_add_executor_job(client.principal) await hass.async_add_executor_job(client.principal)