From afa9cb03f783e81d2e53760608c403372e24e666 Mon Sep 17 00:00:00 2001 From: Christophe Gagnier Date: Tue, 25 Aug 2026 02:30:44 -0400 Subject: [PATCH] Bump python-hotspring to 2.0.1 (#180087) Co-authored-by: Moustachauve <2206577+Moustachauve@users.noreply.github.com> --- homeassistant/components/hotspring/manifest.json | 2 +- requirements_all.txt | 2 +- tests/components/hotspring/conftest.py | 2 +- .../hotspring/snapshots/test_diagnostics.ambr | 12 ++++++++++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/hotspring/manifest.json b/homeassistant/components/hotspring/manifest.json index 9ba6ddfdb9ec..5c8154b57b76 100644 --- a/homeassistant/components/hotspring/manifest.json +++ b/homeassistant/components/hotspring/manifest.json @@ -8,7 +8,7 @@ "iot_class": "local_polling", "loggers": ["hotspring"], "quality_scale": "platinum", - "requirements": ["python-hotspring==1.3.0"], + "requirements": ["python-hotspring==2.0.1"], "zeroconf": [ { "name": "watkins_spa*", diff --git a/requirements_all.txt b/requirements_all.txt index 9869497a66e0..c0f53e12c9ad 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2707,7 +2707,7 @@ python-homeassistant-analytics==0.9.0 python-homewizard-energy==10.2.0 # homeassistant.components.hotspring -python-hotspring==1.3.0 +python-hotspring==2.0.1 # homeassistant.components.hp_ilo python-hpilo==4.4.3 diff --git a/tests/components/hotspring/conftest.py b/tests/components/hotspring/conftest.py index ccfb454f6a7d..312c36404a0e 100644 --- a/tests/components/hotspring/conftest.py +++ b/tests/components/hotspring/conftest.py @@ -117,7 +117,7 @@ def device_fixture() -> Spa: zone_id=1, is_enabled=True, is_on=False, - color=LightColor.OFF, + color=LightColor.BLUE, light_wheel=LightWheelMode.OFF, intensity=0, loop_speed=0, diff --git a/tests/components/hotspring/snapshots/test_diagnostics.ambr b/tests/components/hotspring/snapshots/test_diagnostics.ambr index 7cbf41189e48..36b8e021c4f5 100644 --- a/tests/components/hotspring/snapshots/test_diagnostics.ambr +++ b/tests/components/hotspring/snapshots/test_diagnostics.ambr @@ -102,9 +102,12 @@ ]), 'light_zones': list([ dict({ + 'c_blue': 0, + 'c_green': 0, + 'c_red': 0, 'color': dict({ '__type': "", - 'repr': "", + 'repr': "", }), 'intensity': 0, 'is_enabled': True, @@ -114,6 +117,7 @@ 'repr': "", }), 'loop_speed': 0, + 'rgb_state': 'inactive', 'zone_id': 1, }), ]), @@ -266,9 +270,12 @@ ]), 'light_zones': list([ dict({ + 'c_blue': 0, + 'c_green': 0, + 'c_red': 0, 'color': dict({ '__type': "", - 'repr': "", + 'repr': "", }), 'intensity': 0, 'is_enabled': True, @@ -278,6 +285,7 @@ 'repr': "", }), 'loop_speed': 0, + 'rgb_state': 'inactive', 'zone_id': 1, }), ]),