diff --git a/lib/logitech_receiver/receiver.py b/lib/logitech_receiver/receiver.py index 7ea455a099..c63e497fa9 100644 --- a/lib/logitech_receiver/receiver.py +++ b/lib/logitech_receiver/receiver.py @@ -28,7 +28,6 @@ logger = logging.getLogger(__name__) -hidpp_instance = hidpp10.Hidpp10() _R = hidpp10_constants.REGISTERS _IR = hidpp10_constants.INFO_SUBREGISTERS @@ -59,6 +58,7 @@ def create_receiver(device_info, setting_callback=None): handle = _base.open_path(device_info.path) if handle: + hidpp_instance = hidpp10.Hidpp10() receiver_kind = product_info.get("receiver_kind", "unknown") if receiver_kind == "bolt": return BoltReceiver(