From f7404e2ee0bfbdb371d21ba88de9feca19c8b09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 25 May 2023 17:18:28 +0200 Subject: [PATCH] Update aioairzone-cloud to v0.1.6 (#93513) --- homeassistant/components/airzone_cloud/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- tests/components/airzone_cloud/util.py | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/airzone_cloud/manifest.json b/homeassistant/components/airzone_cloud/manifest.json index 0099b30e74b..d03fe5913c2 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_polling", "loggers": ["aioairzone_cloud"], - "requirements": ["aioairzone-cloud==0.1.3"] + "requirements": ["aioairzone-cloud==0.1.6"] } diff --git a/requirements_all.txt b/requirements_all.txt index 2d713b42c39..500f8bc202e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -116,7 +116,7 @@ aio_georss_gdacs==0.8 aioairq==0.2.4 # homeassistant.components.airzone_cloud -aioairzone-cloud==0.1.3 +aioairzone-cloud==0.1.6 # homeassistant.components.airzone aioairzone==0.5.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6b4723510ec..f67bae0a6b8 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -106,7 +106,7 @@ aio_georss_gdacs==0.8 aioairq==0.2.4 # homeassistant.components.airzone_cloud -aioairzone-cloud==0.1.3 +aioairzone-cloud==0.1.6 # homeassistant.components.airzone aioairzone==0.5.6 diff --git a/tests/components/airzone_cloud/util.py b/tests/components/airzone_cloud/util.py index 06e5d1b3017..641a143bfde 100644 --- a/tests/components/airzone_cloud/util.py +++ b/tests/components/airzone_cloud/util.py @@ -12,6 +12,7 @@ from aioairzone_cloud.const import ( API_DEVICE_ID, API_DEVICES, API_DISCONNECTION_DATE, + API_ERRORS, API_FAH, API_GROUPS, API_HUMIDITY, @@ -24,10 +25,12 @@ from aioairzone_cloud.const import ( API_STAT_AP_MAC, API_STAT_CHANNEL, API_STAT_QUALITY, + API_STAT_RSSI, API_STAT_SSID, API_STATUS, API_SYSTEM_NUMBER, API_TYPE, + API_WARNINGS, API_WS_FW, API_WS_ID, API_WS_IDS, @@ -111,6 +114,7 @@ GET_WEBSERVER_MOCK = { API_STATUS: { API_IS_CONNECTED: True, API_STAT_QUALITY: 4, + API_STAT_RSSI: -56, API_CONNECTION_DATE: "2023-05-07T12:55:51.000Z", API_DISCONNECTION_DATE: "2023-01-01T22:26:55.376Z", }, @@ -122,7 +126,9 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: if device.get_id() == "system1": return { + API_ERRORS: [], API_IS_CONNECTED: True, + API_WARNINGS: [], } if device.get_id() == "zone2": return { @@ -132,6 +138,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: API_FAH: 77, API_CELSIUS: 25, }, + API_WARNINGS: [], } return { API_HUMIDITY: 30, @@ -140,6 +147,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]: API_FAH: 68, API_CELSIUS: 20, }, + API_WARNINGS: [], }