mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix HAVCMode typing in AVM FRITZ!SmartHome (#94642)
This commit is contained in:
parent
e899cb3caa
commit
6f106e6505
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user