mirror of
https://github.com/home-assistant/core.git
synced 2025-08-15 02:21:40 +02:00
fix scan_devices
This commit is contained in:
@@ -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. """
|
||||||
|
Reference in New Issue
Block a user