Update pylint to 2.11.1 (#56364)
This commit is contained in:
parent
476d04e2fb
commit
48bada5a18
49 changed files with 77 additions and 43 deletions
|
@ -676,7 +676,7 @@ class Thermostat(ClimateEntity):
|
|||
heatCoolMinDelta property.
|
||||
https://www.ecobee.com/home/developer/api/examples/ex5.shtml
|
||||
"""
|
||||
if self.hvac_mode == HVAC_MODE_HEAT or self.hvac_mode == HVAC_MODE_COOL:
|
||||
if self.hvac_mode in (HVAC_MODE_HEAT, HVAC_MODE_COOL):
|
||||
heat_temp = temp
|
||||
cool_temp = temp
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue