From 93033e037d5efb71e7166311f1e4cd8ae8e91008 Mon Sep 17 00:00:00 2001 From: Luke Lashley Date: Mon, 2 Oct 2023 14:11:16 -0400 Subject: [PATCH] Bump python-roborock to 0.34.6 (#101147) --- homeassistant/components/roborock/manifest.json | 2 +- homeassistant/components/roborock/strings.json | 3 ++- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/roborock/test_switch.py | 2 +- tests/components/roborock/test_time.py | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/roborock/manifest.json b/homeassistant/components/roborock/manifest.json index dfd5a9ee1c7..6882754f49a 100644 --- a/homeassistant/components/roborock/manifest.json +++ b/homeassistant/components/roborock/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/roborock", "iot_class": "local_polling", "loggers": ["roborock"], - "requirements": ["python-roborock==0.34.1"] + "requirements": ["python-roborock==0.34.6"] } diff --git a/homeassistant/components/roborock/strings.json b/homeassistant/components/roborock/strings.json index c46eb814151..53c536494f9 100644 --- a/homeassistant/components/roborock/strings.json +++ b/homeassistant/components/roborock/strings.json @@ -176,7 +176,8 @@ "moderate": "Moderate", "high": "High", "intense": "Intense", - "custom": "[%key:component::roborock::entity::select::mop_mode::state::custom%]" + "custom": "[%key:component::roborock::entity::select::mop_mode::state::custom%]", + "custom_water_flow": "Custom water flow" } } }, diff --git a/requirements_all.txt b/requirements_all.txt index 04ac8758390..488857fb0d9 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2174,7 +2174,7 @@ python-qbittorrent==0.4.3 python-ripple-api==0.0.3 # homeassistant.components.roborock -python-roborock==0.34.1 +python-roborock==0.34.6 # homeassistant.components.smarttub python-smarttub==0.0.33 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 9038e992c42..79f35b36f74 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1618,7 +1618,7 @@ python-picnic-api==1.1.0 python-qbittorrent==0.4.3 # homeassistant.components.roborock -python-roborock==0.34.1 +python-roborock==0.34.6 # homeassistant.components.smarttub python-smarttub==0.0.33 diff --git a/tests/components/roborock/test_switch.py b/tests/components/roborock/test_switch.py index 40ecdc267ed..fb301390fee 100644 --- a/tests/components/roborock/test_switch.py +++ b/tests/components/roborock/test_switch.py @@ -27,7 +27,7 @@ async def test_update_success( # Ensure that the entity exist, as these test can pass even if there is no entity. assert hass.states.get(entity_id) is not None with patch( - "homeassistant.components.roborock.coordinator.RoborockLocalClient.send_message" + "homeassistant.components.roborock.coordinator.RoborockLocalClient._send_command" ) as mock_send_message: await hass.services.async_call( "switch", diff --git a/tests/components/roborock/test_time.py b/tests/components/roborock/test_time.py index 6ba996ca23f..1cf2fe6bed5 100644 --- a/tests/components/roborock/test_time.py +++ b/tests/components/roborock/test_time.py @@ -27,7 +27,7 @@ async def test_update_success( # Ensure that the entity exist, as these test can pass even if there is no entity. assert hass.states.get(entity_id) is not None with patch( - "homeassistant.components.roborock.coordinator.RoborockLocalClient.send_message" + "homeassistant.components.roborock.coordinator.RoborockLocalClient._send_command" ) as mock_send_message: await hass.services.async_call( "time",