Skip to content

Commit 7fce160

Browse files
author
autoruff
committed
fixup: test_main Python code fixed using ruff
1 parent 91030e9 commit 7fce160

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ def _update_for_cooling(self, entity: GwEntityData) -> None:
150150
sensors.pop("setpoint")
151151
self._count -= 1
152152

153-
self._count += 3 # add 4 total, remove 1, count the conditional remove separately
153+
self._count += (
154+
3 # add 4 total, remove 1, count the conditional remove separately
155+
)
154156

155157
def _get_location_data(self, loc_id: str) -> GwEntityData:
156158
"""Helper-function for _all_entity_data() and async_update().

0 commit comments

Comments
 (0)