We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109af62 commit da05526Copy full SHA for da05526
plugwise/data.py
@@ -73,7 +73,7 @@ def _update_gw_devices(self) -> None:
73
def _detect_low_batteries(self) -> list[str]:
74
"""Helper-function updating the battery_state binary_sensor status from a Battery-is-low message."""
75
mac_address_list: list[str] = []
76
- mac_pattern = "(?:[0-9A-F]{2}){7}(?:[0-9A-F]{2})"
+ mac_pattern = "(?:[0-9A-F]{2}){8}"
77
matches = ["Battery", "below"]
78
if self._notifications:
79
for msg_id, notification in list(self._notifications.items()):
0 commit comments