mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Run nuki bidge.info() on executor (#58345)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
ab66efba0e
commit
07f268de1f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user