Increase connection timeout in CalDAV (#127727)
parent
b927763d8d
commit
3b6f88cfa7
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue