diff --git a/broadlink/__init__.py b/broadlink/__init__.py index 37a7fcbec..12d8b30d5 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -126,6 +126,7 @@ def discover(timeout=None, local_ip_address=None): mac = responsepacket[0x3a:0x40] dev = gendevice(devtype, host, mac) devices.append(dev) + return devices class device: