From 07f268de1f1c20e440228ad247c65392576c2b56 Mon Sep 17 00:00:00 2001 From: Sagi Bernstein Date: Mon, 25 Oct 2021 13:41:32 +0300 Subject: [PATCH] Run nuki bidge.info() on executor (#58345) Co-authored-by: Franck Nijhof --- homeassistant/components/nuki/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nuki/config_flow.py b/homeassistant/components/nuki/config_flow.py index 7a98ad2f00d..330f38c96bd 100644 --- a/homeassistant/components/nuki/config_flow.py +++ b/homeassistant/components/nuki/config_flow.py @@ -41,7 +41,7 @@ async def validate_input(hass, data): DEFAULT_TIMEOUT, ) - info = bridge.info() + info = await hass.async_add_executor_job(bridge.info) except InvalidCredentialsException as err: raise InvalidAuth from err except RequestException as err: