mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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
@ -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…
x
Reference in New Issue
Block a user