Add pylint CodeStyle extension (#53147)
This commit is contained in:
parent
c35b5a1c64
commit
f6b162bc39
60 changed files with 103 additions and 98 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue