diff --git a/lib/logitech/unifying_receiver/status.py b/lib/logitech/unifying_receiver/status.py index 914a8e66..3cbc4436 100644 --- a/lib/logitech/unifying_receiver/status.py +++ b/lib/logitech/unifying_receiver/status.py @@ -248,6 +248,7 @@ class DeviceStatus(dict): self.read_battery(timestamp) elif len(self) > 0 and timestamp - self.updated > _STATUS_TIMEOUT: + self._active = False # If the device has been inactive for too long, clear out any known # properties, they are most likely obsolete anyway. # The battery level stays because it's unlikely to change much.