From 7707c5e558f895e710cc639c627c352a122666ca Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 18 Jan 2013 17:41:45 +0200 Subject: [PATCH] don't notify on device disconnection --- lib/logitech/unifying_receiver/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech/unifying_receiver/status.py b/lib/logitech/unifying_receiver/status.py index 20833759..a98fe33d 100644 --- a/lib/logitech/unifying_receiver/status.py +++ b/lib/logitech/unifying_receiver/status.py @@ -176,7 +176,7 @@ class DeviceStatus(dict): # if the device has been inactive for too long, clear out any known # properties, they are most likely obsolete anyway self.clear() - self._changed(active=False, alert=ALERT.LOW, timestamp=timestamp) + self._changed(active=False, timestamp=timestamp) def process_notification(self, n): # incoming packets with SubId >= 0x80 are supposedly replies from