mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Fix HAVCMode typing in Intellifire (#94633)
This commit is contained in:
parent
64d914d56d
commit
6c4fe9fc3b
@ -66,7 +66,7 @@ class IntellifireClimate(IntellifireEntity, ClimateEntity):
|
||||
self.last_temp = coordinator.data.thermostat_setpoint_c
|
||||
|
||||
@property
|
||||
def hvac_mode(self) -> str:
|
||||
def hvac_mode(self) -> HVACMode:
|
||||
"""Return current hvac mode."""
|
||||
if self.coordinator.read_api.data.thermostat_on:
|
||||
return HVACMode.HEAT
|
||||
|
Loading…
x
Reference in New Issue
Block a user