Improve mysensors config flow (#46984)
This commit is contained in:
parent
1a73cb4791
commit
17f4c9dd06
2 changed files with 44 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue