def __init__(self): self.lights = lampcontrol.getlights() self.scenes = lampcontrol.Scene.loadall() self.sounds = soundcontrol.getsounds()
def reloadlights(self): self.lights = lampcontrol.getlights()