From ff236011834259f6f9e923265741d4ab6de99f90 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Tue, 16 Dec 2025 15:14:09 -0500 Subject: [PATCH] device: fix bug when showing details about direct-connected device --- lib/logitech_receiver/hidpp10_constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/logitech_receiver/hidpp10_constants.py b/lib/logitech_receiver/hidpp10_constants.py index c06cfcc2..2c33e7c8 100644 --- a/lib/logitech_receiver/hidpp10_constants.py +++ b/lib/logitech_receiver/hidpp10_constants.py @@ -112,8 +112,9 @@ class NotificationFlag(Flag): def flags_to_str(flags, fallback: str) -> str: + print("FLAGS", type(flags), flags, fallback) flag_names = [] - if flags is not None: + if flags is not None and flags is not False: if flags.value == 0: flag_names = (fallback,) else: