From 6fbc0a81032f9bb6ae0d0299469cb98710c28c76 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Sep 2022 13:05:53 -0500 Subject: [PATCH] Bump govee-ble to 0.17.2 (#77849) --- homeassistant/components/govee_ble/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/govee_ble/__init__.py | 4 ++-- tests/components/govee_ble/test_config_flow.py | 6 +++--- tests/components/govee_ble/test_sensor.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/homeassistant/components/govee_ble/manifest.json b/homeassistant/components/govee_ble/manifest.json index e24e3bfea14..2ce68498968 100644 --- a/homeassistant/components/govee_ble/manifest.json +++ b/homeassistant/components/govee_ble/manifest.json @@ -53,7 +53,7 @@ "connectable": false } ], - "requirements": ["govee-ble==0.17.1"], + "requirements": ["govee-ble==0.17.2"], "dependencies": ["bluetooth"], "codeowners": ["@bdraco"], "iot_class": "local_push" diff --git a/requirements_all.txt b/requirements_all.txt index a3b0892312d..ac0f9a43f8f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -772,7 +772,7 @@ googlemaps==2.5.1 goslide-api==0.5.1 # homeassistant.components.govee_ble -govee-ble==0.17.1 +govee-ble==0.17.2 # homeassistant.components.remote_rpi_gpio gpiozero==1.6.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 956516430dd..9d70f106685 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -573,7 +573,7 @@ google-nest-sdm==2.0.0 googlemaps==2.5.1 # homeassistant.components.govee_ble -govee-ble==0.17.1 +govee-ble==0.17.2 # homeassistant.components.gree greeclimate==1.3.0 diff --git a/tests/components/govee_ble/__init__.py b/tests/components/govee_ble/__init__.py index 3baea5e1140..c440317fa43 100644 --- a/tests/components/govee_ble/__init__.py +++ b/tests/components/govee_ble/__init__.py @@ -14,7 +14,7 @@ NOT_GOVEE_SERVICE_INFO = BluetoothServiceInfo( ) GVH5075_SERVICE_INFO = BluetoothServiceInfo( - name="GVH5075_2762", + name="GVH5075 2762", address="61DE521B-F0BF-9F44-64D4-75BBE1738105", rssi=-63, manufacturer_data={ @@ -26,7 +26,7 @@ GVH5075_SERVICE_INFO = BluetoothServiceInfo( ) GVH5177_SERVICE_INFO = BluetoothServiceInfo( - name="GVH5177_2EC8", + name="GVH5177 2EC8", address="4125DDBA-2774-4851-9889-6AADDD4CAC3D", rssi=-56, manufacturer_data={ diff --git a/tests/components/govee_ble/test_config_flow.py b/tests/components/govee_ble/test_config_flow.py index 188672cdf18..73cbb903f31 100644 --- a/tests/components/govee_ble/test_config_flow.py +++ b/tests/components/govee_ble/test_config_flow.py @@ -27,7 +27,7 @@ async def test_async_step_bluetooth_valid_device(hass): result["flow_id"], user_input={} ) assert result2["type"] == FlowResultType.CREATE_ENTRY - assert result2["title"] == "H5075_2762" + assert result2["title"] == "H5075 2762" assert result2["data"] == {} 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"}, ) assert result2["type"] == FlowResultType.CREATE_ENTRY - assert result2["title"] == "H5177_2EC8" + assert result2["title"] == "H5177 2EC8" assert result2["data"] == {} 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"}, ) assert result2["type"] == FlowResultType.CREATE_ENTRY - assert result2["title"] == "H5177_2EC8" + assert result2["title"] == "H5177 2EC8" assert result2["data"] == {} assert result2["result"].unique_id == "4125DDBA-2774-4851-9889-6AADDD4CAC3D" diff --git a/tests/components/govee_ble/test_sensor.py b/tests/components/govee_ble/test_sensor.py index da67d32e681..e7828fdc496 100644 --- a/tests/components/govee_ble/test_sensor.py +++ b/tests/components/govee_ble/test_sensor.py @@ -42,7 +42,7 @@ async def test_sensors(hass): temp_sensor = hass.states.get("sensor.h5075_2762_temperature") temp_sensor_attribtes = temp_sensor.attributes 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_STATE_CLASS] == "measurement"