'Scan for new devices and return a list of found device ids.'

def scan_devices(self):

    self._update_info()
    active_hosts = []
    for known_host in self.last_results:
        if ((known_host['status'] == '1') and known_host.get('mac')):
            active_hosts.append(known_host['mac'])
    return active_hosts
