'Initialize the light.'

def on_device(self, ipaddr, name, power, hue, sat, bri, kel):

    bulb = self.find_bulb(ipaddr)
    if (bulb is None):
        _LOGGER.debug('new    bulb    %s    %s    %d    %d    %d    %d    %d', ipaddr, name, power, hue, sat, bri, kel)
        bulb = LIFXLight(self._liffylights, ipaddr, name, power, hue, sat, bri, kel)
        self._devices.append(bulb)
        self._add_devices_callback([bulb])
    else:
        _LOGGER.debug('update    bulb    %s    %s    %d    %d    %d    %d    %d', ipaddr, name, power, hue, sat, bri, kel)
        bulb.set_power(power)
        bulb.set_color(hue, sat, bri, kel)
        bulb.schedule_update_ha_state()
