Improve mysensors config flow (#46984)

This commit is contained in:
Martin Hjelmare 2021-02-24 12:52:04 +01:00 committed by GitHub
parent 1a73cb4791
commit 17f4c9dd06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 16 deletions

View file

@ -96,7 +96,7 @@ async def try_connect(hass: HomeAssistantType, user_input: Dict[str, str]) -> bo
connect_task = None
try:
connect_task = asyncio.create_task(gateway.start())
with async_timeout.timeout(5):
with async_timeout.timeout(20):
await gateway_ready
return True
except asyncio.TimeoutError: