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: