Update aioairzone-cloud to v0.5.3 (#120100)
This commit is contained in:
parent
7fa74fcb07
commit
289a54d632
5 changed files with 13 additions and 3 deletions
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Add table
Reference in a new issue