Make cool_on and heat_on method calls. They aren't properties in python-wink (#25549)
This commit is contained in:
parent
e225243bc5
commit
bc38d394d5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue