Skip to content

Commit 93bab54

Browse files
author
autoruff
committed
fixup: different-update Python code fixed using ruff
1 parent dc0eeab commit 93bab54

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

plugwise/helper.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,10 @@ def _get_locations(self) -> None:
233233

234234
loc.name = location.find("name").text
235235
self._loc_data[loc.loc_id] = {
236-
"name": loc.name, "primary": [], "primary_prio": 0, "secondary": []
236+
"name": loc.name,
237+
"primary": [],
238+
"primary_prio": 0,
239+
"secondary": [],
237240
}
238241
if loc.name != "Home":
239242
continue

plugwise/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_all_gateway_entities(self) -> None:
114114
if self._is_thermostat:
115115
self.therms_with_offset_func = (
116116
self._get_appliances_with_offset_functionality()
117-
)
117+
)
118118

119119
self._scan_thermostats()
120120

0 commit comments

Comments
 (0)