Skip to content

Commit

Permalink
fix docstring and lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nhorvath committed Feb 8, 2019
1 parent bfd9055 commit d3a645f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/ecobee/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def current_operation(self):
- 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
Expand Down Expand Up @@ -402,8 +402,8 @@ def set_temp_hold(self, temp):
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:
Expand Down

0 comments on commit d3a645f

Please sign in to comment.