Update pylint to 2.11.1 (#56364)

This commit is contained in:
Marc Mueller 2021-09-18 13:52:59 +02:00 committed by GitHub
parent 476d04e2fb
commit 48bada5a18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 77 additions and 43 deletions

View file

@ -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: