From a9c43c6c625ec5fb73f08751e4935c18a6b85cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Tue, 28 Jan 2020 11:58:37 +0100 Subject: [PATCH] Mill, correct hvac_mode. Fixes #31236 (#31242) --- homeassistant/components/mill/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index 875d217247c..8f880c74c6e 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -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