Revert "Check netgear device_tracker link_rate to ensure device is connected" (#31855)

This reverts commit 669844e4dd.
pull/31863/head
Martin Hjelmare 2020-02-15 17:21:04 +01:00 committed by GitHub
parent b8f9ff76b3
commit 588f2cd920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -110,10 +110,7 @@ class NetgearDeviceScanner(DeviceScanner):
or dev.name in self.excluded_devices
)
)
# when link_rate is None this means the router still knows about
# the device, but it is not in range.
if tracked and dev.link_rate is not None:
if tracked:
devices.append(dev.mac)
if (
self.tracked_accesspoints