Fix HAVCMode typing in AVM FRITZ!SmartHome (#94642)

This commit is contained in:
Franck Nijhof 2023-06-15 14:11:18 +02:00 committed by GitHub
parent e899cb3caa
commit 6f106e6505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity):
await self.coordinator.async_refresh()
@property
def hvac_mode(self) -> str:
def hvac_mode(self) -> HVACMode:
"""Return the current operation mode."""
if self.data.target_temperature in (
OFF_REPORT_SET_TEMPERATURE,