Update aioairzone-cloud to v0.1.6 (#93513)

pull/93543/head
Álvaro Fernández Rojas 2023-05-25 17:18:28 +02:00 committed by GitHub
parent 25a33b6b37
commit f7404e2ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -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"]
}

View File

@ -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

View File

@ -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

View File

@ -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: [],
}