Mill, correct hvac_mode. Fixes #31236 (#31242)

This commit is contained in:
Daniel Høyer Iversen authored and GitHub committed 2020-01-28 11:58:37 +01:00
1 parent 259a7e8490
commit a9c43c6c62
1 file changed
+1 -1
+1 -1
View File
@@ -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