Fix luci device_tracker not reliably reporting home/away state (#40160)

pull/40164/head
cagnulein 2020-09-17 11:35:13 +02:00 committed by GitHub
parent 70173488a8
commit b4d29653c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -94,6 +94,7 @@ class LuciDeviceScanner(DeviceScanner):
last_results = [] last_results = []
for device in result: for device in result:
if device.reachable:
last_results.append(device) last_results.append(device)
self.last_results = last_results self.last_results = last_results