mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
fix for last_results
This commit is contained in:
parent
5533618bd2
commit
b9b751d234
@ -140,10 +140,10 @@ class ActiontecDeviceScanner(object):
|
||||
if len(exclude_targets) > 0:
|
||||
exclude_target_list = [t.ip for t in exclude_targets]
|
||||
|
||||
self.last_results = []
|
||||
actiontec_data = self.get_actiontec_data()
|
||||
if not actiontec_data:
|
||||
return False
|
||||
self.last_results = []
|
||||
for client in exclude_target_list:
|
||||
if client in actiontec_data:
|
||||
actiontec_data.pop(client)
|
||||
|
Loading…
x
Reference in New Issue
Block a user