mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
fix scan_devices
This commit is contained in:
parent
ca515615b9
commit
63e441c73f
@ -88,7 +88,7 @@ class ActiontecDeviceScanner(object):
|
|||||||
list containing found device ids. """
|
list containing found device ids. """
|
||||||
|
|
||||||
self._update_info()
|
self._update_info()
|
||||||
return self.last_results
|
return [client['mac'] for client in self.last_results]
|
||||||
|
|
||||||
def get_device_name(self, device):
|
def get_device_name(self, device):
|
||||||
""" Returns the name of the given device or None if we don't know. """
|
""" Returns the name of the given device or None if we don't know. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user