# testleds can be : # "all" to test all the leds # a single led number, a list of led numbers import hyperion import time #import colorsys # Get parameters sleepTime = float(hyperion.args.get('sleepTime', 0.5)) testleds = hyperion.args.get('testleds', "all") ledlist = hyperion.args.get('ledlist', "1") testlist = () if (testleds == "list") and (type(ledlist) is str): for s in ledlist.split(','): i = int(s) if (i