Don't remove devices first time they are not found in a scan.
Don't remove devices first time they are not found in a scan.

Switch to a mark and sweep approach, requiring devices to be missing for several scans before removing them.  This should fix the flaky device removals.

bamnet/apartment,bamnet/apartment