Set longer timeout during synology_dsm config flow (#41364)

This commit is contained in:
Quentame 2020-10-07 01:14:05 +02:00 committed by Franck Nijhof
parent aefa305f77
commit 281456b252
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -126,7 +126,7 @@ class SynologyDSMFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
else:
port = DEFAULT_PORT
api = SynologyDSM(host, port, username, password, use_ssl)
api = SynologyDSM(host, port, username, password, use_ssl, timeout=30)
try:
serial = await self.hass.async_add_executor_job(