Bump xiaomi-ble to 0.17.2 (#94011)
Bump xiaomi-ble Co-authored-by: J. Nick Koston <nick@koston.org>pull/94052/head
parent
a08e516da0
commit
7c02e1ca99
|
@ -16,5 +16,5 @@
|
|||
"dependencies": ["bluetooth_adapters"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/xiaomi_ble",
|
||||
"iot_class": "local_push",
|
||||
"requirements": ["xiaomi-ble==0.17.0"]
|
||||
"requirements": ["xiaomi-ble==0.17.2"]
|
||||
}
|
||||
|
|
|
@ -2682,7 +2682,7 @@ wyoming==0.0.1
|
|||
xbox-webapi==2.0.11
|
||||
|
||||
# homeassistant.components.xiaomi_ble
|
||||
xiaomi-ble==0.17.0
|
||||
xiaomi-ble==0.17.2
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknx==2.10.0
|
||||
|
|
|
@ -1952,7 +1952,7 @@ wyoming==0.0.1
|
|||
xbox-webapi==2.0.11
|
||||
|
||||
# homeassistant.components.xiaomi_ble
|
||||
xiaomi-ble==0.17.0
|
||||
xiaomi-ble==0.17.2
|
||||
|
||||
# homeassistant.components.knx
|
||||
xknx==2.10.0
|
||||
|
|
|
@ -253,10 +253,10 @@ async def test_smoke(hass: HomeAssistant) -> None:
|
|||
await hass.async_block_till_done()
|
||||
assert len(hass.states.async_all()) == 1
|
||||
|
||||
smoke_sensor = hass.states.get("binary_sensor.thermometer_9cbc_smoke")
|
||||
smoke_sensor = hass.states.get("binary_sensor.smoke_detector_9cbc_smoke")
|
||||
smoke_sensor_attribtes = smoke_sensor.attributes
|
||||
assert smoke_sensor.state == STATE_ON
|
||||
assert smoke_sensor_attribtes[ATTR_FRIENDLY_NAME] == "Thermometer 9CBC Smoke"
|
||||
assert smoke_sensor_attribtes[ATTR_FRIENDLY_NAME] == "Smoke Detector 9CBC Smoke"
|
||||
|
||||
assert await hass.config_entries.async_unload(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
|
|
@ -248,7 +248,7 @@ async def test_async_step_bluetooth_valid_device_v4_encryption(
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
@ -284,7 +284,7 @@ async def test_async_step_bluetooth_valid_device_v4_encryption_wrong_key(
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
@ -320,7 +320,7 @@ async def test_async_step_bluetooth_valid_device_v4_encryption_wrong_key_length(
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
@ -501,7 +501,7 @@ async def test_async_step_user_with_found_devices_v4_encryption(
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
@ -549,7 +549,7 @@ async def test_async_step_user_with_found_devices_v4_encryption_wrong_key(
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
@ -599,7 +599,7 @@ async def test_async_step_user_with_found_devices_v4_encryption_wrong_key_length
|
|||
)
|
||||
|
||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert result2["title"] == "Thermometer 9CBC (JTYJGD03MI)"
|
||||
assert result2["title"] == "Smoke Detector 9CBC (JTYJGD03MI)"
|
||||
assert result2["data"] == {"bindkey": "5b51a7c91cde6707c9ef18dfda143a58"}
|
||||
assert result2["result"].unique_id == "54:EF:44:E3:9C:BC"
|
||||
|
||||
|
|
Loading…
Reference in New Issue