From b9b751d234d6feb9fcba8cc24c3f3a681f8de6ee Mon Sep 17 00:00:00 2001 From: Nolan Gilley Date: Wed, 2 Sep 2015 12:00:20 -0400 Subject: [PATCH] fix for last_results --- homeassistant/components/device_tracker/actiontec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/device_tracker/actiontec.py b/homeassistant/components/device_tracker/actiontec.py index 7c6e9cce6be..a922da9fe88 100644 --- a/homeassistant/components/device_tracker/actiontec.py +++ b/homeassistant/components/device_tracker/actiontec.py @@ -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)