mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump govee-ble to 0.17.2 (#77849)
This commit is contained in:
parent
33dd8a4a45
commit
6fbc0a8103
@ -53,7 +53,7 @@
|
|||||||
"connectable": false
|
"connectable": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"requirements": ["govee-ble==0.17.1"],
|
"requirements": ["govee-ble==0.17.2"],
|
||||||
"dependencies": ["bluetooth"],
|
"dependencies": ["bluetooth"],
|
||||||
"codeowners": ["@bdraco"],
|
"codeowners": ["@bdraco"],
|
||||||
"iot_class": "local_push"
|
"iot_class": "local_push"
|
||||||
|
@ -772,7 +772,7 @@ googlemaps==2.5.1
|
|||||||
goslide-api==0.5.1
|
goslide-api==0.5.1
|
||||||
|
|
||||||
# homeassistant.components.govee_ble
|
# homeassistant.components.govee_ble
|
||||||
govee-ble==0.17.1
|
govee-ble==0.17.2
|
||||||
|
|
||||||
# homeassistant.components.remote_rpi_gpio
|
# homeassistant.components.remote_rpi_gpio
|
||||||
gpiozero==1.6.2
|
gpiozero==1.6.2
|
||||||
|
@ -573,7 +573,7 @@ google-nest-sdm==2.0.0
|
|||||||
googlemaps==2.5.1
|
googlemaps==2.5.1
|
||||||
|
|
||||||
# homeassistant.components.govee_ble
|
# homeassistant.components.govee_ble
|
||||||
govee-ble==0.17.1
|
govee-ble==0.17.2
|
||||||
|
|
||||||
# homeassistant.components.gree
|
# homeassistant.components.gree
|
||||||
greeclimate==1.3.0
|
greeclimate==1.3.0
|
||||||
|
@ -14,7 +14,7 @@ NOT_GOVEE_SERVICE_INFO = BluetoothServiceInfo(
|
|||||||
)
|
)
|
||||||
|
|
||||||
GVH5075_SERVICE_INFO = BluetoothServiceInfo(
|
GVH5075_SERVICE_INFO = BluetoothServiceInfo(
|
||||||
name="GVH5075_2762",
|
name="GVH5075 2762",
|
||||||
address="61DE521B-F0BF-9F44-64D4-75BBE1738105",
|
address="61DE521B-F0BF-9F44-64D4-75BBE1738105",
|
||||||
rssi=-63,
|
rssi=-63,
|
||||||
manufacturer_data={
|
manufacturer_data={
|
||||||
@ -26,7 +26,7 @@ GVH5075_SERVICE_INFO = BluetoothServiceInfo(
|
|||||||
)
|
)
|
||||||
|
|
||||||
GVH5177_SERVICE_INFO = BluetoothServiceInfo(
|
GVH5177_SERVICE_INFO = BluetoothServiceInfo(
|
||||||
name="GVH5177_2EC8",
|
name="GVH5177 2EC8",
|
||||||
address="4125DDBA-2774-4851-9889-6AADDD4CAC3D",
|
address="4125DDBA-2774-4851-9889-6AADDD4CAC3D",
|
||||||
rssi=-56,
|
rssi=-56,
|
||||||
manufacturer_data={
|
manufacturer_data={
|
||||||
|
@ -27,7 +27,7 @@ async def test_async_step_bluetooth_valid_device(hass):
|
|||||||
result["flow_id"], user_input={}
|
result["flow_id"], user_input={}
|
||||||
)
|
)
|
||||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||||
assert result2["title"] == "H5075_2762"
|
assert result2["title"] == "H5075 2762"
|
||||||
assert result2["data"] == {}
|
assert result2["data"] == {}
|
||||||
assert result2["result"].unique_id == "61DE521B-F0BF-9F44-64D4-75BBE1738105"
|
assert result2["result"].unique_id == "61DE521B-F0BF-9F44-64D4-75BBE1738105"
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ async def test_async_step_user_with_found_devices(hass):
|
|||||||
user_input={"address": "4125DDBA-2774-4851-9889-6AADDD4CAC3D"},
|
user_input={"address": "4125DDBA-2774-4851-9889-6AADDD4CAC3D"},
|
||||||
)
|
)
|
||||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||||
assert result2["title"] == "H5177_2EC8"
|
assert result2["title"] == "H5177 2EC8"
|
||||||
assert result2["data"] == {}
|
assert result2["data"] == {}
|
||||||
assert result2["result"].unique_id == "4125DDBA-2774-4851-9889-6AADDD4CAC3D"
|
assert result2["result"].unique_id == "4125DDBA-2774-4851-9889-6AADDD4CAC3D"
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ async def test_async_step_user_takes_precedence_over_discovery(hass):
|
|||||||
user_input={"address": "4125DDBA-2774-4851-9889-6AADDD4CAC3D"},
|
user_input={"address": "4125DDBA-2774-4851-9889-6AADDD4CAC3D"},
|
||||||
)
|
)
|
||||||
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
assert result2["type"] == FlowResultType.CREATE_ENTRY
|
||||||
assert result2["title"] == "H5177_2EC8"
|
assert result2["title"] == "H5177 2EC8"
|
||||||
assert result2["data"] == {}
|
assert result2["data"] == {}
|
||||||
assert result2["result"].unique_id == "4125DDBA-2774-4851-9889-6AADDD4CAC3D"
|
assert result2["result"].unique_id == "4125DDBA-2774-4851-9889-6AADDD4CAC3D"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ async def test_sensors(hass):
|
|||||||
temp_sensor = hass.states.get("sensor.h5075_2762_temperature")
|
temp_sensor = hass.states.get("sensor.h5075_2762_temperature")
|
||||||
temp_sensor_attribtes = temp_sensor.attributes
|
temp_sensor_attribtes = temp_sensor.attributes
|
||||||
assert temp_sensor.state == "21.34"
|
assert temp_sensor.state == "21.34"
|
||||||
assert temp_sensor_attribtes[ATTR_FRIENDLY_NAME] == "H5075_2762 Temperature"
|
assert temp_sensor_attribtes[ATTR_FRIENDLY_NAME] == "H5075 2762 Temperature"
|
||||||
assert temp_sensor_attribtes[ATTR_UNIT_OF_MEASUREMENT] == "°C"
|
assert temp_sensor_attribtes[ATTR_UNIT_OF_MEASUREMENT] == "°C"
|
||||||
assert temp_sensor_attribtes[ATTR_STATE_CLASS] == "measurement"
|
assert temp_sensor_attribtes[ATTR_STATE_CLASS] == "measurement"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user