Update aioairzone-cloud to v0.3.7 (#106544)
Release v0.3.7 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>pull/106573/head
parent
34c9ef42e9
commit
5dd63d86f2
homeassistant/components/airzone_cloud
tests/components/airzone_cloud
snapshots
|
@ -6,5 +6,5 @@
|
||||||
"documentation": "https://www.home-assistant.io/integrations/airzone_cloud",
|
"documentation": "https://www.home-assistant.io/integrations/airzone_cloud",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["aioairzone_cloud"],
|
"loggers": ["aioairzone_cloud"],
|
||||||
"requirements": ["aioairzone-cloud==0.3.6"]
|
"requirements": ["aioairzone-cloud==0.3.7"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,7 +188,7 @@ aio-georss-gdacs==0.8
|
||||||
aioairq==0.3.2
|
aioairq==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.airzone_cloud
|
# homeassistant.components.airzone_cloud
|
||||||
aioairzone-cloud==0.3.6
|
aioairzone-cloud==0.3.7
|
||||||
|
|
||||||
# homeassistant.components.airzone
|
# homeassistant.components.airzone
|
||||||
aioairzone==0.7.2
|
aioairzone==0.7.2
|
||||||
|
|
|
@ -167,7 +167,7 @@ aio-georss-gdacs==0.8
|
||||||
aioairq==0.3.2
|
aioairq==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.airzone_cloud
|
# homeassistant.components.airzone_cloud
|
||||||
aioairzone-cloud==0.3.6
|
aioairzone-cloud==0.3.7
|
||||||
|
|
||||||
# homeassistant.components.airzone
|
# homeassistant.components.airzone
|
||||||
aioairzone==0.7.2
|
aioairzone==0.7.2
|
||||||
|
|
|
@ -324,6 +324,12 @@
|
||||||
}),
|
}),
|
||||||
'systems': dict({
|
'systems': dict({
|
||||||
'system1': dict({
|
'system1': dict({
|
||||||
|
'aq-index': 1,
|
||||||
|
'aq-pm-1': 3,
|
||||||
|
'aq-pm-10': 3,
|
||||||
|
'aq-pm-2.5': 4,
|
||||||
|
'aq-present': True,
|
||||||
|
'aq-status': 'good',
|
||||||
'available': True,
|
'available': True,
|
||||||
'errors': list([
|
'errors': list([
|
||||||
dict({
|
dict({
|
||||||
|
@ -398,6 +404,19 @@
|
||||||
'zone1': dict({
|
'zone1': dict({
|
||||||
'action': 1,
|
'action': 1,
|
||||||
'active': True,
|
'active': True,
|
||||||
|
'aq-active': False,
|
||||||
|
'aq-index': 1,
|
||||||
|
'aq-mode-conf': 'auto',
|
||||||
|
'aq-mode-values': list([
|
||||||
|
'off',
|
||||||
|
'on',
|
||||||
|
'auto',
|
||||||
|
]),
|
||||||
|
'aq-pm-1': 3,
|
||||||
|
'aq-pm-10': 3,
|
||||||
|
'aq-pm-2.5': 4,
|
||||||
|
'aq-present': True,
|
||||||
|
'aq-status': 'good',
|
||||||
'available': True,
|
'available': True,
|
||||||
'humidity': 30,
|
'humidity': 30,
|
||||||
'id': 'zone1',
|
'id': 'zone1',
|
||||||
|
@ -445,6 +464,19 @@
|
||||||
'zone2': dict({
|
'zone2': dict({
|
||||||
'action': 6,
|
'action': 6,
|
||||||
'active': False,
|
'active': False,
|
||||||
|
'aq-active': False,
|
||||||
|
'aq-index': 1,
|
||||||
|
'aq-mode-conf': 'auto',
|
||||||
|
'aq-mode-values': list([
|
||||||
|
'off',
|
||||||
|
'on',
|
||||||
|
'auto',
|
||||||
|
]),
|
||||||
|
'aq-pm-1': 3,
|
||||||
|
'aq-pm-10': 3,
|
||||||
|
'aq-pm-2.5': 4,
|
||||||
|
'aq-present': True,
|
||||||
|
'aq-status': 'good',
|
||||||
'available': True,
|
'available': True,
|
||||||
'humidity': 24,
|
'humidity': 24,
|
||||||
'id': 'zone2',
|
'id': 'zone2',
|
||||||
|
|
|
@ -6,6 +6,14 @@ from unittest.mock import patch
|
||||||
from aioairzone_cloud.common import OperationMode
|
from aioairzone_cloud.common import OperationMode
|
||||||
from aioairzone_cloud.const import (
|
from aioairzone_cloud.const import (
|
||||||
API_ACTIVE,
|
API_ACTIVE,
|
||||||
|
API_AQ_ACTIVE,
|
||||||
|
API_AQ_MODE_CONF,
|
||||||
|
API_AQ_MODE_VALUES,
|
||||||
|
API_AQ_PM_1,
|
||||||
|
API_AQ_PM_2P5,
|
||||||
|
API_AQ_PM_10,
|
||||||
|
API_AQ_PRESENT,
|
||||||
|
API_AQ_QUALITY,
|
||||||
API_AZ_AIDOO,
|
API_AZ_AIDOO,
|
||||||
API_AZ_AIDOO_PRO,
|
API_AZ_AIDOO_PRO,
|
||||||
API_AZ_SYSTEM,
|
API_AZ_SYSTEM,
|
||||||
|
@ -291,6 +299,12 @@ def mock_get_device_status(device: Device) -> dict[str, Any]:
|
||||||
}
|
}
|
||||||
if device.get_id() == "system1":
|
if device.get_id() == "system1":
|
||||||
return {
|
return {
|
||||||
|
API_AQ_MODE_VALUES: ["off", "on", "auto"],
|
||||||
|
API_AQ_PM_1: 3,
|
||||||
|
API_AQ_PM_2P5: 4,
|
||||||
|
API_AQ_PM_10: 3,
|
||||||
|
API_AQ_PRESENT: True,
|
||||||
|
API_AQ_QUALITY: "good",
|
||||||
API_ERRORS: [
|
API_ERRORS: [
|
||||||
{
|
{
|
||||||
API_OLD_ID: "error-id",
|
API_OLD_ID: "error-id",
|
||||||
|
@ -310,6 +324,14 @@ def mock_get_device_status(device: Device) -> dict[str, Any]:
|
||||||
if device.get_id() == "zone1":
|
if device.get_id() == "zone1":
|
||||||
return {
|
return {
|
||||||
API_ACTIVE: True,
|
API_ACTIVE: True,
|
||||||
|
API_AQ_ACTIVE: False,
|
||||||
|
API_AQ_MODE_CONF: "auto",
|
||||||
|
API_AQ_MODE_VALUES: ["off", "on", "auto"],
|
||||||
|
API_AQ_PM_1: 3,
|
||||||
|
API_AQ_PM_2P5: 4,
|
||||||
|
API_AQ_PM_10: 3,
|
||||||
|
API_AQ_PRESENT: True,
|
||||||
|
API_AQ_QUALITY: "good",
|
||||||
API_HUMIDITY: 30,
|
API_HUMIDITY: 30,
|
||||||
API_MODE: OperationMode.COOLING.value,
|
API_MODE: OperationMode.COOLING.value,
|
||||||
API_MODE_AVAIL: [
|
API_MODE_AVAIL: [
|
||||||
|
@ -346,6 +368,14 @@ def mock_get_device_status(device: Device) -> dict[str, Any]:
|
||||||
if device.get_id() == "zone2":
|
if device.get_id() == "zone2":
|
||||||
return {
|
return {
|
||||||
API_ACTIVE: False,
|
API_ACTIVE: False,
|
||||||
|
API_AQ_ACTIVE: False,
|
||||||
|
API_AQ_MODE_CONF: "auto",
|
||||||
|
API_AQ_MODE_VALUES: ["off", "on", "auto"],
|
||||||
|
API_AQ_PM_1: 3,
|
||||||
|
API_AQ_PM_2P5: 4,
|
||||||
|
API_AQ_PM_10: 3,
|
||||||
|
API_AQ_PRESENT: True,
|
||||||
|
API_AQ_QUALITY: "good",
|
||||||
API_HUMIDITY: 24,
|
API_HUMIDITY: 24,
|
||||||
API_MODE: OperationMode.COOLING.value,
|
API_MODE: OperationMode.COOLING.value,
|
||||||
API_MODE_AVAIL: [],
|
API_MODE_AVAIL: [],
|
||||||
|
|
Loading…
Reference in New Issue