mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
committed by
GitHub
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
|
||||
|
||||
|
Reference in New Issue
Block a user