mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
fix docstring and lint issue
This commit is contained in:
@@ -238,7 +238,7 @@ class Thermostat(ClimateDevice):
|
|||||||
- STATE_IDLE: thermostat is on, but not actively heating or cooling
|
- STATE_IDLE: thermostat is on, but not actively heating or cooling
|
||||||
- STATE_HEAT: actively heating
|
- STATE_HEAT: actively heating
|
||||||
- STATE_COOL: actively cooling
|
- STATE_COOL: actively cooling
|
||||||
- None: unknown state"""
|
"""
|
||||||
status = self.thermostat['equipmentStatus']
|
status = self.thermostat['equipmentStatus']
|
||||||
if self.operation_mode == STATE_OFF:
|
if self.operation_mode == STATE_OFF:
|
||||||
operation = STATE_OFF
|
operation = STATE_OFF
|
||||||
@@ -402,8 +402,8 @@ class Thermostat(ClimateDevice):
|
|||||||
heatCoolMinDelta property.
|
heatCoolMinDelta property.
|
||||||
https://www.ecobee.com/home/developer/api/examples/ex5.shtml
|
https://www.ecobee.com/home/developer/api/examples/ex5.shtml
|
||||||
"""
|
"""
|
||||||
if self.current_operation_mode == STATE_HEAT or self.current_operation_mode == \
|
if self.current_operation_mode == STATE_HEAT or \
|
||||||
STATE_COOL:
|
self.current_operation_mode == STATE_COOL:
|
||||||
heat_temp = temp
|
heat_temp = temp
|
||||||
cool_temp = temp
|
cool_temp = temp
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user