Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_device(): device = broadlink.rm2() device.discover() device.auth() return device
Python API for controlling Broadlink devices