Bump py-dormakaba-dkey to 1.0.3 (#88924)

* Bump py-dormakaba-dkey to 1.0.3

* Log unexpected errors in config flow
pull/88979/head
Erik Montnemery 2023-02-28 21:33:50 +01:00 committed by Paulus Schoutsen
parent 9f3f71d0c3
commit 8eb8415d3f
4 changed files with 5 additions and 4 deletions

View File

@ -132,7 +132,8 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
try:
association_data = await lock.associate(user_input["activation_code"])
except BleakError:
except BleakError as err:
_LOGGER.warning("BleakError", exc_info=err)
return self.async_abort(reason="cannot_connect")
except dkey_errors.InvalidActivationCode:
errors["base"] = "invalid_code"

View File

@ -11,5 +11,5 @@
"documentation": "https://www.home-assistant.io/integrations/dormakaba_dkey",
"integration_type": "device",
"iot_class": "local_polling",
"requirements": ["py-dormakaba-dkey==1.0.2"]
"requirements": ["py-dormakaba-dkey==1.0.3"]
}

View File

@ -1430,7 +1430,7 @@ py-canary==0.5.3
py-cpuinfo==8.0.0
# homeassistant.components.dormakaba_dkey
py-dormakaba-dkey==1.0.2
py-dormakaba-dkey==1.0.3
# homeassistant.components.melissa
py-melissa-climate==2.1.4

View File

@ -1045,7 +1045,7 @@ py-canary==0.5.3
py-cpuinfo==8.0.0
# homeassistant.components.dormakaba_dkey
py-dormakaba-dkey==1.0.2
py-dormakaba-dkey==1.0.3
# homeassistant.components.melissa
py-melissa-climate==2.1.4