mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Bump bthome-ble to 3.0.0 (#96616)
This commit is contained in:
parent
63115a906d
commit
4d3e24465c
@ -80,7 +80,7 @@ class BTHomeConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
if len(bindkey) != 32:
|
if len(bindkey) != 32:
|
||||||
errors["bindkey"] = "expected_32_characters"
|
errors["bindkey"] = "expected_32_characters"
|
||||||
else:
|
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
|
# If we got this far we already know supported will
|
||||||
# return true so we don't bother checking that again
|
# return true so we don't bother checking that again
|
||||||
|
@ -20,5 +20,5 @@
|
|||||||
"dependencies": ["bluetooth_adapters"],
|
"dependencies": ["bluetooth_adapters"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/bthome",
|
"documentation": "https://www.home-assistant.io/integrations/bthome",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"requirements": ["bthome-ble==2.12.1"]
|
"requirements": ["bthome-ble==3.0.0"]
|
||||||
}
|
}
|
||||||
|
@ -562,7 +562,7 @@ brunt==1.2.0
|
|||||||
bt-proximity==0.2.1
|
bt-proximity==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.bthome
|
# homeassistant.components.bthome
|
||||||
bthome-ble==2.12.1
|
bthome-ble==3.0.0
|
||||||
|
|
||||||
# homeassistant.components.bt_home_hub_5
|
# homeassistant.components.bt_home_hub_5
|
||||||
bthomehub5-devicelist==0.1.1
|
bthomehub5-devicelist==0.1.1
|
||||||
|
@ -469,7 +469,7 @@ brottsplatskartan==0.0.1
|
|||||||
brunt==1.2.0
|
brunt==1.2.0
|
||||||
|
|
||||||
# homeassistant.components.bthome
|
# homeassistant.components.bthome
|
||||||
bthome-ble==2.12.1
|
bthome-ble==3.0.0
|
||||||
|
|
||||||
# homeassistant.components.buienradar
|
# homeassistant.components.buienradar
|
||||||
buienradar==1.0.5
|
buienradar==1.0.5
|
||||||
|
@ -175,7 +175,7 @@ async def test_async_step_user_no_devices_found_2(hass: HomeAssistant) -> None:
|
|||||||
This variant tests with a non-BTHome device known to us.
|
This variant tests with a non-BTHome device known to us.
|
||||||
"""
|
"""
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.xiaomi_ble.config_flow.async_discovered_service_info",
|
"homeassistant.components.bthome.config_flow.async_discovered_service_info",
|
||||||
return_value=[NOT_BTHOME_SERVICE_INFO],
|
return_value=[NOT_BTHOME_SERVICE_INFO],
|
||||||
):
|
):
|
||||||
result = await hass.config_entries.flow.async_init(
|
result = await hass.config_entries.flow.async_init(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user