def __init__(self, add_devices_callback,
                 server_addr=None, broadcast_addr=None):
        import liffylights

        self._devices = []

        self._add_devices_callback = add_devices_callback

        self._liffylights = liffylights.LiffyLights(
            self.on_device,
            self.on_power,
            self.on_color,
            server_addr,
            broadcast_addr)
Initialize the light.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/lifx.py/LIFX.__init__