Re-enabled Ruff E713 (#87301)

This commit is contained in:
Franck Nijhof 2023-02-03 16:18:33 +01:00 committed by GitHub
parent 5958e7c515
commit 4b27af6a8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View file

@ -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. "