mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Fix misssing timeout in caldav (#115247)
This commit is contained in:
parent
aa85e59c6f
commit
4e983d710f
@ -34,6 +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,
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
await hass.async_add_executor_job(client.principal)
|
await hass.async_add_executor_job(client.principal)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user