mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 05:47:10 +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
|
self.last_temp = coordinator.data.thermostat_setpoint_c
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_mode(self) -> str:
|
def hvac_mode(self) -> HVACMode:
|
||||||
"""Return current hvac mode."""
|
"""Return current hvac mode."""
|
||||||
if self.coordinator.read_api.data.thermostat_on:
|
if self.coordinator.read_api.data.thermostat_on:
|
||||||
return HVACMode.HEAT
|
return HVACMode.HEAT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user