From d3a645f075f8a4017756f5eae05f00f05e2556cf Mon Sep 17 00:00:00 2001 From: nhorvath Date: Fri, 8 Feb 2019 09:25:06 -0500 Subject: [PATCH] fix docstring and lint issue --- homeassistant/components/ecobee/climate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/ecobee/climate.py b/homeassistant/components/ecobee/climate.py index a37bb4598a4..8e5a401ac41 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -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: