From 6f106e650517428ecfb88a150d043c58bfa8c62d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 15 Jun 2023 14:11:18 +0200 Subject: [PATCH] Fix HAVCMode typing in AVM FRITZ!SmartHome (#94642) --- homeassistant/components/fritzbox/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/fritzbox/climate.py b/homeassistant/components/fritzbox/climate.py index 31cdac47ec2..7c846789637 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -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,