From a8915b85a4a114a02496741c55579077c403340b Mon Sep 17 00:00:00 2001 From: Christophe Gagnier Date: Tue, 30 Jan 2024 06:40:35 -0500 Subject: [PATCH] Bump pytechnove to 1.2.1 (#109098) * Bump TechnoVE library to 1.2.0 * Bump TechnoVE library to 1.2.1 * Exclude unknown status from the options * Regenerate test_sensor.ambr for TechnoVE snapshot test --------- Co-authored-by: Joost Lekkerkerker --- homeassistant/components/technove/manifest.json | 2 +- homeassistant/components/technove/sensor.py | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/technove/manifest.json b/homeassistant/components/technove/manifest.json index 50b1c1394e7..33739bbd867 100644 --- a/homeassistant/components/technove/manifest.json +++ b/homeassistant/components/technove/manifest.json @@ -6,6 +6,6 @@ "documentation": "https://www.home-assistant.io/integrations/technove", "integration_type": "device", "iot_class": "local_polling", - "requirements": ["python-technove==1.1.1"], + "requirements": ["python-technove==1.2.1"], "zeroconf": ["_technove-stations._tcp.local."] } diff --git a/homeassistant/components/technove/sensor.py b/homeassistant/components/technove/sensor.py index 38d0eeabe49..e4d3822ee1b 100644 --- a/homeassistant/components/technove/sensor.py +++ b/homeassistant/components/technove/sensor.py @@ -28,7 +28,7 @@ from .const import DOMAIN from .coordinator import TechnoVEDataUpdateCoordinator from .entity import TechnoVEEntity -STATUS_TYPE = [s.value for s in Status] +STATUS_TYPE = [s.value for s in Status if s != Status.UNKNOWN] @dataclass(frozen=True, kw_only=True) diff --git a/requirements_all.txt b/requirements_all.txt index 77e89cae6fb..f1d634a8b89 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2281,7 +2281,7 @@ python-songpal==0.16.1 python-tado==0.17.4 # homeassistant.components.technove -python-technove==1.1.1 +python-technove==1.2.1 # homeassistant.components.telegram_bot python-telegram-bot==13.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 327e61e98a7..1f6be5ea4fb 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1745,7 +1745,7 @@ python-songpal==0.16.1 python-tado==0.17.4 # homeassistant.components.technove -python-technove==1.1.1 +python-technove==1.2.1 # homeassistant.components.telegram_bot python-telegram-bot==13.1