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 GitHub
parent 5b0282e56d
commit ae1c15ff14

View File

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