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

pull/40179/head
cagnulein 2020-09-17 11:35:13 +02:00 committed by Franck Nijhof
parent 99a57f5a4e
commit 78022bf145
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 2 additions and 1 deletions

View File

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