Add Airzone to strict typing (#71604)

This commit is contained in:
Álvaro Fernández Rojas 2022-05-09 19:56:59 +02:00 committed by GitHub
parent 75ce66e8bd
commit b9b83c05e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 28 deletions

View file

@ -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) -> None:
async def async_set_temperature(self, **kwargs: dict[str, Any]) -> None:
"""Set new target temperature."""
params = {
API_SET_POINT: kwargs.get(ATTR_TEMPERATURE),