From 289a54d632005f7740ef9db446c17a94041f130a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 21 Jun 2024 15:59:57 +0200 Subject: [PATCH] Update aioairzone-cloud to v0.5.3 (#120100) --- homeassistant/components/airzone_cloud/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- .../airzone_cloud/snapshots/test_diagnostics.ambr | 4 ++++ tests/components/airzone_cloud/util.py | 6 ++++++ 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/airzone_cloud/manifest.json b/homeassistant/components/airzone_cloud/manifest.json index ca024d0e1a3..555514ecf2a 100644 --- a/homeassistant/components/airzone_cloud/manifest.json +++ b/homeassistant/components/airzone_cloud/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/airzone_cloud", "iot_class": "cloud_push", "loggers": ["aioairzone_cloud"], - "requirements": ["aioairzone-cloud==0.5.2"] + "requirements": ["aioairzone-cloud==0.5.3"] } diff --git a/requirements_all.txt b/requirements_all.txt index 6e45a44c23b..d9dd5bbe61b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -182,7 +182,7 @@ aio-georss-gdacs==0.9 aioairq==0.3.2 # homeassistant.components.airzone_cloud -aioairzone-cloud==0.5.2 +aioairzone-cloud==0.5.3 # homeassistant.components.airzone aioairzone==0.7.7 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index adaa08ed59b..33ff276c8ad 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -161,7 +161,7 @@ aio-georss-gdacs==0.9 aioairq==0.3.2 # homeassistant.components.airzone_cloud -aioairzone-cloud==0.5.2 +aioairzone-cloud==0.5.3 # homeassistant.components.airzone aioairzone==0.7.7 diff --git a/tests/components/airzone_cloud/snapshots/test_diagnostics.ambr b/tests/components/airzone_cloud/snapshots/test_diagnostics.ambr index 3309c175543..31065d68a47 100644 --- a/tests/components/airzone_cloud/snapshots/test_diagnostics.ambr +++ b/tests/components/airzone_cloud/snapshots/test_diagnostics.ambr @@ -438,6 +438,7 @@ 'zone1': dict({ 'action': 1, 'active': True, + 'air-demand': True, 'aq-active': False, 'aq-index': 1, 'aq-mode-conf': 'auto', @@ -453,6 +454,7 @@ 'aq-status': 'good', 'available': True, 'double-set-point': False, + 'floor-demand': False, 'humidity': 30, 'id': 'zone1', 'installation': 'installation1', @@ -499,6 +501,7 @@ 'zone2': dict({ 'action': 6, 'active': False, + 'air-demand': False, 'aq-active': False, 'aq-index': 1, 'aq-mode-conf': 'auto', @@ -514,6 +517,7 @@ 'aq-status': 'good', 'available': True, 'double-set-point': False, + 'floor-demand': False, 'humidity': 24, 'id': 'zone2', 'installation': 'installation1', diff --git a/tests/components/airzone_cloud/util.py b/tests/components/airzone_cloud/util.py index dfd59199a8a..6e7dad707f1 100644 --- a/tests/components/airzone_cloud/util.py +++ b/tests/components/airzone_cloud/util.py @@ -6,6 +6,7 @@ from unittest.mock import patch from aioairzone_cloud.common import OperationMode from aioairzone_cloud.const import ( API_ACTIVE, + API_AIR_ACTIVE, API_AQ_ACTIVE, API_AQ_MODE_CONF, API_AQ_MODE_VALUES, @@ -42,6 +43,7 @@ from aioairzone_cloud.const import ( API_OLD_ID, API_POWER, API_POWERFUL_MODE, + API_RAD_ACTIVE, API_RANGE_MAX_AIR, API_RANGE_MIN_AIR, API_RANGE_SP_MAX_ACS, @@ -353,6 +355,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: if device.get_id() == "zone1": return { API_ACTIVE: True, + API_AIR_ACTIVE: True, API_AQ_ACTIVE: False, API_AQ_MODE_CONF: "auto", API_AQ_MODE_VALUES: ["off", "on", "auto"], @@ -370,6 +373,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: OperationMode.VENTILATION.value, OperationMode.DRY.value, ], + API_RAD_ACTIVE: False, API_RANGE_MAX_AIR: {API_CELSIUS: 30, API_FAH: 86}, API_RANGE_SP_MAX_COOL_AIR: {API_FAH: 86, API_CELSIUS: 30}, API_RANGE_SP_MAX_DRY_AIR: {API_FAH: 86, API_CELSIUS: 30}, @@ -398,6 +402,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: if device.get_id() == "zone2": return { API_ACTIVE: False, + API_AIR_ACTIVE: False, API_AQ_ACTIVE: False, API_AQ_MODE_CONF: "auto", API_AQ_MODE_VALUES: ["off", "on", "auto"], @@ -410,6 +415,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: API_HUMIDITY: 24, API_MODE: OperationMode.COOLING.value, API_MODE_AVAIL: [], + API_RAD_ACTIVE: False, API_RANGE_MAX_AIR: {API_CELSIUS: 30, API_FAH: 86}, API_RANGE_SP_MAX_COOL_AIR: {API_FAH: 86, API_CELSIUS: 30}, API_RANGE_SP_MAX_DRY_AIR: {API_FAH: 86, API_CELSIUS: 30},