Add pylint CodeStyle extension (#53147)

This commit is contained in:
Marc Mueller 2021-07-19 15:57:06 +02:00 committed by GitHub
parent c35b5a1c64
commit f6b162bc39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 103 additions and 98 deletions

View file

@ -135,7 +135,7 @@ class DaikinClimate(ClimateEntity):
"""Set device settings using API."""
values = {}
for attr in [ATTR_TEMPERATURE, ATTR_FAN_MODE, ATTR_SWING_MODE, ATTR_HVAC_MODE]:
for attr in (ATTR_TEMPERATURE, ATTR_FAN_MODE, ATTR_SWING_MODE, ATTR_HVAC_MODE):
value = settings.get(attr)
if value is None:
continue