From 60519702b4c2bd374ccb43732f4d2865baf2ae71 Mon Sep 17 00:00:00 2001 From: Luke Lashley Date: Tue, 25 Jun 2024 18:03:01 -0400 Subject: [PATCH] Bump python-roborock to 2.5.0 (#120466) --- homeassistant/components/roborock/manifest.json | 2 +- homeassistant/components/roborock/number.py | 2 +- homeassistant/components/roborock/switch.py | 2 +- homeassistant/components/roborock/time.py | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/roborock/manifest.json b/homeassistant/components/roborock/manifest.json index 51b1835247f..7a80a9083e9 100644 --- a/homeassistant/components/roborock/manifest.json +++ b/homeassistant/components/roborock/manifest.json @@ -7,7 +7,7 @@ "iot_class": "local_polling", "loggers": ["roborock"], "requirements": [ - "python-roborock==2.3.0", + "python-roborock==2.5.0", "vacuum-map-parser-roborock==0.1.2" ] } diff --git a/homeassistant/components/roborock/number.py b/homeassistant/components/roborock/number.py index f761d0b2274..8aa20fad838 100644 --- a/homeassistant/components/roborock/number.py +++ b/homeassistant/components/roborock/number.py @@ -31,7 +31,7 @@ class RoborockNumberDescription(NumberEntityDescription): # Gets the status of the switch cache_key: CacheableAttribute # Sets the status of the switch - update_value: Callable[[AttributeCache, float], Coroutine[Any, Any, dict]] + update_value: Callable[[AttributeCache, float], Coroutine[Any, Any, None]] NUMBER_DESCRIPTIONS: list[RoborockNumberDescription] = [ diff --git a/homeassistant/components/roborock/switch.py b/homeassistant/components/roborock/switch.py index 694bf864809..7e17844666e 100644 --- a/homeassistant/components/roborock/switch.py +++ b/homeassistant/components/roborock/switch.py @@ -32,7 +32,7 @@ class RoborockSwitchDescription(SwitchEntityDescription): # Gets the status of the switch cache_key: CacheableAttribute # Sets the status of the switch - update_value: Callable[[AttributeCache, bool], Coroutine[Any, Any, dict]] + update_value: Callable[[AttributeCache, bool], Coroutine[Any, Any, None]] # Attribute from cache attribute: str diff --git a/homeassistant/components/roborock/time.py b/homeassistant/components/roborock/time.py index 7c9c08bce4d..6ccc2ef0b27 100644 --- a/homeassistant/components/roborock/time.py +++ b/homeassistant/components/roborock/time.py @@ -33,7 +33,7 @@ class RoborockTimeDescription(TimeEntityDescription): # Gets the status of the switch cache_key: CacheableAttribute # Sets the status of the switch - update_value: Callable[[AttributeCache, datetime.time], Coroutine[Any, Any, dict]] + update_value: Callable[[AttributeCache, datetime.time], Coroutine[Any, Any, None]] # Attribute from cache get_value: Callable[[AttributeCache], datetime.time] diff --git a/requirements_all.txt b/requirements_all.txt index de167c2f7e1..61924dc2af9 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2315,7 +2315,7 @@ python-rabbitair==0.0.8 python-ripple-api==0.0.3 # homeassistant.components.roborock -python-roborock==2.3.0 +python-roborock==2.5.0 # homeassistant.components.smarttub python-smarttub==0.0.36 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 8eb468b0947..62d26ee172d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1809,7 +1809,7 @@ python-picnic-api==1.1.0 python-rabbitair==0.0.8 # homeassistant.components.roborock -python-roborock==2.3.0 +python-roborock==2.5.0 # homeassistant.components.smarttub python-smarttub==0.0.36