def __init__(self, name, host, port): """Initialize the light.""" from iglo import Lamp self._name = name self._lamp = Lamp(0, host, port) self._on = True self._brightness = 255 self._rgb = (0, 0, 0) self._color_temp = 0
def __init__(self, name, host, port): """Initialize the light.""" from iglo import Lamp self._name = name self._lamp = Lamp(0, host, port)