Skip to content

Commit 84537bc

Browse files
author
autoruff
committed
fixup: improve-01 Python code fixed using ruff
1 parent 28408bf commit 84537bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/legacy/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
LIMITS,
2323
NONE,
2424
OFF,
25-
PRIORITY_DEVICE_CLASSES ,
25+
PRIORITY_DEVICE_CLASSES,
2626
P1_LEGACY_MEASUREMENTS,
2727
TEMP_CELSIUS,
2828
THERMOSTAT_CLASSES,
@@ -131,7 +131,7 @@ def _all_appliances(self) -> None:
131131
self._create_gw_entities(appl)
132132

133133
# Place the gateway and optional heater_central devices as 1st and 2nd
134-
for dev_class in PRIORITY_DEVICE_CLASSES :
134+
for dev_class in PRIORITY_DEVICE_CLASSES:
135135
for entity_id, entity in dict(self.gw_entities).items():
136136
if entity["dev_class"] == dev_class:
137137
tmp_entity = entity

0 commit comments

Comments
 (0)