Fix luci device_tracker incorrectly reporting devices status (#40409)
This commit is contained in:
parent
d5741a5ba4
commit
8bff25fedd
1 changed files with 5 additions and 1 deletions
|
@ -94,7 +94,11 @@ class LuciDeviceScanner(DeviceScanner):
|
|||
|
||||
last_results = []
|
||||
for device in result:
|
||||
if device.reachable:
|
||||
if (
|
||||
not hasattr(self.router.router.owrt_version, "release")
|
||||
or self.router.router.owrt_version.release[0] < 19
|
||||
or device.reachable
|
||||
):
|
||||
last_results.append(device)
|
||||
|
||||
self.last_results = last_results
|
||||
|
|
Loading…
Add table
Reference in a new issue