From 79fec0442c9fb3a8b56dc56fe554cbc687c16a7c Mon Sep 17 00:00:00 2001 From: Ryan Gerleve Date: Wed, 3 Jun 2026 21:31:01 -0400 Subject: [PATCH] Workaround for web-configurator hangs in setup flow. - The web-configurator could get stuck when continuing a first-time setup that was previously canceled or interrupted. Added delays as a workaround. --- ucapi/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ucapi/api.py b/ucapi/api.py index d7f9b8d..07b56e6 100644 --- a/ucapi/api.py +++ b/ucapi/api.py @@ -1303,12 +1303,14 @@ async def _setup_driver( ) if isinstance(action, uc.RequestUserInput): + await asyncio.sleep(0.5) await self.driver_setup_progress(websocket) await self.request_driver_setup_user_input( websocket, action.title, action.settings ) result = True elif isinstance(action, uc.RequestUserConfirmation): + await asyncio.sleep(0.5) await self.driver_setup_progress(websocket) await self.request_driver_setup_user_confirmation( websocket, action.title, action.header, action.image, action.footer