diff --git a/homeassistant/components/xiaomi_ble/config_flow.py b/homeassistant/components/xiaomi_ble/config_flow.py index d168835b394..9115fc5991b 100644 --- a/homeassistant/components/xiaomi_ble/config_flow.py +++ b/homeassistant/components/xiaomi_ble/config_flow.py @@ -123,7 +123,7 @@ class XiaomiConfigFlow(ConfigFlow, domain=DOMAIN): if len(bindkey) != 24: errors["bindkey"] = "expected_24_characters" else: - self._discovered_device.bindkey = bytes.fromhex(bindkey) + self._discovered_device.set_bindkey(bytes.fromhex(bindkey)) # If we got this far we already know supported will # return true so we don't bother checking that again @@ -157,7 +157,7 @@ class XiaomiConfigFlow(ConfigFlow, domain=DOMAIN): if len(bindkey) != 32: errors["bindkey"] = "expected_32_characters" else: - self._discovered_device.bindkey = bytes.fromhex(bindkey) + self._discovered_device.set_bindkey(bytes.fromhex(bindkey)) # If we got this far we already know supported will # return true so we don't bother checking that again diff --git a/homeassistant/components/xiaomi_ble/manifest.json b/homeassistant/components/xiaomi_ble/manifest.json index 73b22ddab9f..683a5dab9dd 100644 --- a/homeassistant/components/xiaomi_ble/manifest.json +++ b/homeassistant/components/xiaomi_ble/manifest.json @@ -20,5 +20,5 @@ "dependencies": ["bluetooth_adapters"], "documentation": "https://www.home-assistant.io/integrations/xiaomi_ble", "iot_class": "local_push", - "requirements": ["xiaomi-ble==0.18.2"] + "requirements": ["xiaomi-ble==0.19.1"] } diff --git a/requirements_all.txt b/requirements_all.txt index 6fb3c6fdd7b..4efb95e7769 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2684,7 +2684,7 @@ wyoming==1.1.0 xbox-webapi==2.0.11 # homeassistant.components.xiaomi_ble -xiaomi-ble==0.18.2 +xiaomi-ble==0.19.1 # homeassistant.components.knx xknx==2.11.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 35c64169868..8bbd5666dee 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1966,7 +1966,7 @@ wyoming==1.1.0 xbox-webapi==2.0.11 # homeassistant.components.xiaomi_ble -xiaomi-ble==0.18.2 +xiaomi-ble==0.19.1 # homeassistant.components.knx xknx==2.11.1