From c8ab8b4350590dc2ef4acaddaba2a1a7269c87c8 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Thu, 2 Dec 2021 10:37:44 -0500 Subject: [PATCH] receiver: don't do on-screen notify for wireless device status notifications --- lib/logitech_receiver/notifications.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index 1ee14278..5aa1a129 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -370,10 +370,7 @@ def _process_feature_notification(device, status, n, feature): _log.debug('wireless status: %s', n) reason = 'powered on' if n.data[2] == 1 else None if n.data[1] == 1: # device is asking for software reconfiguration so need to change status - # only show a user notification if the device can change hosts - # as we want to notify when a device changes to this host - # but the only indication we get is this notification - alert = _ALERT.NOTIFICATION if _F.CHANGE_HOST in device.features else _ALERT.NONE + alert = _ALERT.NONE status.changed(active=True, alert=alert, reason=reason) else: _log.warn('%s: unknown WIRELESS %s', device, n)