From e0ea5f2b04c97a3d8ef6451714ce55318b4e1897 Mon Sep 17 00:00:00 2001 From: Teemu R Date: Tue, 13 Aug 2019 04:25:27 -0400 Subject: [PATCH] eq3bt: handle zero (closed valve) as a valid mode. fixes #25333 (#25905) --- homeassistant/components/eq3btsmart/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index 219578c34be..8499a0de5a0 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -91,7 +91,7 @@ class EQ3BTSmartThermostat(ClimateDevice): @property def available(self) -> bool: """Return if thermostat is available.""" - return self._thermostat.mode > 0 + return self._thermostat.mode >= 0 @property def name(self):