From 789f5f05c3c576ce26f50032ee08ee6835d9eb12 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Fri, 21 Feb 2020 22:32:43 -0500 Subject: [PATCH] receiver: don't check features when device is not online --- lib/logitech_receiver/settings_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/settings_templates.py b/lib/logitech_receiver/settings_templates.py index 2a3f62ae..b772707c 100644 --- a/lib/logitech_receiver/settings_templates.py +++ b/lib/logitech_receiver/settings_templates.py @@ -373,7 +373,7 @@ del _SETTINGS_LIST def check_feature_settings(device, already_known): """Try to auto-detect device settings by the HID++ 2.0 features they have.""" - if device.features is None: + if device.features is None or not device.online: return if device.protocol and device.protocol < 2.0: return