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

This reverts commit 669844e4dd.
This commit is contained in:
Martin Hjelmare
2020-02-15 17:21:04 +01:00
committed by GitHub
parent b8f9ff76b3
commit 588f2cd920

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