fix docstring and lint issue

This commit is contained in:
nhorvath
2019-02-08 09:25:06 -05:00
parent bfd90551ef
commit d3a645f075

View File

@@ -238,7 +238,7 @@ class Thermostat(ClimateDevice):
- STATE_IDLE: thermostat is on, but not actively heating or cooling
- STATE_HEAT: actively heating
- STATE_COOL: actively cooling
- None: unknown state"""
"""
status = self.thermostat['equipmentStatus']
if self.operation_mode == STATE_OFF:
operation = STATE_OFF
@@ -402,8 +402,8 @@ class Thermostat(ClimateDevice):
heatCoolMinDelta property.
https://www.ecobee.com/home/developer/api/examples/ex5.shtml
"""
if self.current_operation_mode == STATE_HEAT or self.current_operation_mode == \
STATE_COOL:
if self.current_operation_mode == STATE_HEAT or \
self.current_operation_mode == STATE_COOL:
heat_temp = temp
cool_temp = temp
else: