Address late Airzone strict typing comments (#71627)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>pull/71633/head
parent
0f41f56998
commit
46becd4023
|
@ -162,7 +162,7 @@ class AirzoneClimate(AirzoneZoneEntity, ClimateEntity):
|
|||
params[API_ON] = 1
|
||||
await self._async_update_hvac_params(params)
|
||||
|
||||
async def async_set_temperature(self, **kwargs: dict[str, Any]) -> None:
|
||||
async def async_set_temperature(self, **kwargs: Any) -> None:
|
||||
"""Set new target temperature."""
|
||||
params = {
|
||||
API_SET_POINT: kwargs.get(ATTR_TEMPERATURE),
|
||||
|
|
|
@ -31,10 +31,9 @@ class AirzoneUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||
_LOGGER,
|
||||
name=DOMAIN,
|
||||
update_interval=SCAN_INTERVAL,
|
||||
update_method=self._async_update,
|
||||
)
|
||||
|
||||
async def _async_update(self) -> dict[str, Any]:
|
||||
async def _async_update_data(self) -> dict[str, Any]:
|
||||
"""Update data via library."""
|
||||
async with async_timeout.timeout(AIOAIRZONE_DEVICE_TIMEOUT_SEC):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue