Skip to content

Commit

Permalink
Update aioairzone-cloud to v0.1.6 (home-assistant#93513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noltari authored and hookedonunix committed May 26, 2023
1 parent 46a487e commit 3815e3f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/airzone_cloud/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions tests/components/airzone_cloud/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
API_DEVICE_ID,
API_DEVICES,
API_DISCONNECTION_DATE,
API_ERRORS,
API_FAH,
API_GROUPS,
API_HUMIDITY,
Expand All @@ -24,10 +25,12 @@
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,
Expand Down Expand Up @@ -111,6 +114,7 @@
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",
},
Expand All @@ -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 {
Expand All @@ -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,
Expand All @@ -140,6 +147,7 @@ def mock_get_device_status(device: Device) -> dict[str, Any]:
API_FAH: 68,
API_CELSIUS: 20,
},
API_WARNINGS: [],
}


Expand Down

0 comments on commit 3815e3f

Please sign in to comment.