From bc38d394d52d3b9e1a51538a4094d42c894ed614 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Sun, 28 Jul 2019 20:47:32 -0400 Subject: [PATCH] Make cool_on and heat_on method calls. They aren't properties in python-wink (#25549) --- homeassistant/components/wink/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index c0d34e0feec..8fc1a7f8814 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -241,9 +241,9 @@ class WinkThermostat(WinkDevice, ClimateDevice): """ if not self.wink.is_on(): return CURRENT_HVAC_OFF - if self.wink.cool_on: + if self.wink.cool_on(): return CURRENT_HVAC_COOL - if self.wink.heat_on: + if self.wink.heat_on(): return CURRENT_HVAC_HEAT return CURRENT_HVAC_IDLE