don't notify on device disconnection

This commit is contained in:
Daniel Pavel 2013-01-18 17:41:45 +02:00
parent 9b7a920e0d
commit 7707c5e558
1 changed files with 1 additions and 1 deletions

View File

@ -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