From 15659a1ee4829db50f11d3507f359cb54776a8cb Mon Sep 17 00:00:00 2001 From: rloutrel Date: Fri, 11 Oct 2024 16:27:37 +0200 Subject: [PATCH] Fix copy-paste error while refactoring notifications.py --- lib/logitech_receiver/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index 0550c1f2..101baa68 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -93,7 +93,7 @@ def _process_receiver_notification(receiver, n): receiver.changed(reason=reason) return True - elif n.sub_id == Registers.DISCOVERY_STATUS_NOTIFICATION: # Bolt pairing + elif n.sub_id == Registers.DEVICE_DISCOVERY_NOTIFICATION: # Bolt pairing with notification_lock: counter = n.address + n.data[0] * 256 # notification counter if receiver.pairing.counter is None: