Update aioairzone to 0.4.4 (#71641)

Implements PEP 561, which allows to remove coordinator cast for strict typing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2022-05-10 16:49:40 +02:00 committed by GitHub
parent c994d06967
commit 45290c4c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ from __future__ import annotations
from datetime import timedelta
import logging
from typing import Any, cast
from typing import Any
from aioairzone.exceptions import AirzoneError
from aioairzone.localapi import AirzoneLocalApi
@ -40,4 +40,4 @@ class AirzoneUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
await self.airzone.update()
except AirzoneError as error:
raise UpdateFailed(error) from error
return cast(dict[str, Any], self.airzone.data())
return self.airzone.data()

View File

@ -3,7 +3,7 @@
"name": "Airzone",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/airzone",
"requirements": ["aioairzone==0.4.3"],
"requirements": ["aioairzone==0.4.4"],
"codeowners": ["@Noltari"],
"iot_class": "local_polling",
"loggers": ["aioairzone"]

View File

@ -110,7 +110,7 @@ aio_geojson_nsw_rfs_incidents==0.4
aio_georss_gdacs==0.7
# homeassistant.components.airzone
aioairzone==0.4.3
aioairzone==0.4.4
# homeassistant.components.ambient_station
aioambient==2021.11.0

View File

@ -94,7 +94,7 @@ aio_geojson_nsw_rfs_incidents==0.4
aio_georss_gdacs==0.7
# homeassistant.components.airzone
aioairzone==0.4.3
aioairzone==0.4.4
# homeassistant.components.ambient_station
aioambient==2021.11.0