Skip to content

Commit bc9601e

Browse files
committed
Fix 3 CodeSmells
1 parent 7c9cb42 commit bc9601e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise/data.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ def _update_gw_devices(self) -> None:
7070

7171
remove_empty_platform_dicts(device)
7272

73-
def _detect_low_batteries(
74-
self, device_id: str, device: DeviceData, data: DeviceData
75-
) -> list[str]:
73+
def _detect_low_batteries(self) -> list[str]:
7674
"""Helper-function updating the battery_state binary_sensor status from a Battery-is-low message."""
7775
mac_address_list: list[str] = []
7876
mac_pattern = "(?:[0-9A-F]{2}){7}(?:[0-9A-F]{2})"

0 commit comments

Comments
 (0)