Re-enabled Ruff E713 (#87301)
This commit is contained in:
parent
5958e7c515
commit
4b27af6a8f
4 changed files with 4 additions and 5 deletions
|
@ -179,7 +179,7 @@ async def async_setup_entry(
|
|||
|
||||
for index in range(len(data.ecobee.thermostats)):
|
||||
thermostat = data.ecobee.get_thermostat(index)
|
||||
if not thermostat["modelNumber"] in ECOBEE_MODEL_TO_NAME:
|
||||
if thermostat["modelNumber"] not in ECOBEE_MODEL_TO_NAME:
|
||||
_LOGGER.error(
|
||||
(
|
||||
"Model number for ecobee thermostat %s not recognized. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue