mirror of
https://github.com/home-assistant/core
synced 2024-09-15 17:29:45 +02:00
parent
259a7e8490
commit
a9c43c6c62
@ -173,7 +173,7 @@ class MillHeater(ClimateDevice):
|
||||
|
||||
Need to be one of HVAC_MODE_*.
|
||||
"""
|
||||
if self._heater.is_gen1 or self._heater.power_status == 1:
|
||||
if self._heater.is_gen1 or self._heater.is_heating == 1:
|
||||
return HVAC_MODE_HEAT
|
||||
return HVAC_MODE_OFF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user