mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
Update aioairzone-cloud to v0.4.6 (#112198)
This adds Cloud Push related functionality. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
d3f28718ec
commit
bf596562bf
@ -25,6 +25,7 @@ class AirzoneUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||||||
def __init__(self, hass: HomeAssistant, airzone: AirzoneCloudApi) -> None:
|
def __init__(self, hass: HomeAssistant, airzone: AirzoneCloudApi) -> None:
|
||||||
"""Initialize."""
|
"""Initialize."""
|
||||||
self.airzone = airzone
|
self.airzone = airzone
|
||||||
|
self.airzone.set_update_callback(self.async_set_updated_data)
|
||||||
|
|
||||||
super().__init__(
|
super().__init__(
|
||||||
hass,
|
hass,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"codeowners": ["@Noltari"],
|
"codeowners": ["@Noltari"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"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_push",
|
||||||
"loggers": ["aioairzone_cloud"],
|
"loggers": ["aioairzone_cloud"],
|
||||||
"requirements": ["aioairzone-cloud==0.4.5"]
|
"requirements": ["aioairzone-cloud==0.4.6"]
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,7 @@
|
|||||||
"airzone_cloud": {
|
"airzone_cloud": {
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_push",
|
||||||
"name": "Airzone Cloud"
|
"name": "Airzone Cloud"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -188,7 +188,7 @@ aio-georss-gdacs==0.9
|
|||||||
aioairq==0.3.2
|
aioairq==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.airzone_cloud
|
# homeassistant.components.airzone_cloud
|
||||||
aioairzone-cloud==0.4.5
|
aioairzone-cloud==0.4.6
|
||||||
|
|
||||||
# homeassistant.components.airzone
|
# homeassistant.components.airzone
|
||||||
aioairzone==0.7.6
|
aioairzone==0.7.6
|
||||||
|
@ -167,7 +167,7 @@ aio-georss-gdacs==0.9
|
|||||||
aioairq==0.3.2
|
aioairq==0.3.2
|
||||||
|
|
||||||
# homeassistant.components.airzone_cloud
|
# homeassistant.components.airzone_cloud
|
||||||
aioairzone-cloud==0.4.5
|
aioairzone-cloud==0.4.6
|
||||||
|
|
||||||
# homeassistant.components.airzone
|
# homeassistant.components.airzone
|
||||||
aioairzone==0.7.6
|
aioairzone==0.7.6
|
||||||
|
@ -11,5 +11,8 @@ def airzone_cloud_no_websockets():
|
|||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.airzone_cloud.AirzoneCloudApi._update_websockets",
|
"homeassistant.components.airzone_cloud.AirzoneCloudApi._update_websockets",
|
||||||
return_value=False,
|
return_value=False,
|
||||||
), patch("aioairzone_cloud.websockets.AirzoneCloudIWS.connect", return_value=True):
|
), patch(
|
||||||
|
"homeassistant.components.airzone_cloud.AirzoneCloudApi.connect_installation_websockets",
|
||||||
|
return_value=None,
|
||||||
|
):
|
||||||
yield
|
yield
|
||||||
|
Loading…
x
Reference in New Issue
Block a user