Update mypy to 1.6.0 (#101780)

This commit is contained in:
Marc Mueller 2023-10-11 13:25:11 +02:00 committed by GitHub
parent f116e83b62
commit 0b2b486754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 32 additions and 28 deletions

View file

@ -144,7 +144,7 @@ class MySensorsHVAC(mysensors.device.MySensorsChildEntity, ClimateEntity):
@property
def hvac_mode(self) -> HVACMode:
"""Return current operation ie. heat, cool, idle."""
return self._values.get(self.value_type, HVACMode.HEAT)
return self._values.get(self.value_type, HVACMode.HEAT) # type: ignore[no-any-return]
@property
def fan_mode(self) -> str | None: