'Update status of a Light.'

def update(self):

    super().update()
    self._state = self._luminary.on()
    self._rgb = self._luminary.rgb()
    o_temp = self._luminary.temp()
    if (o_temp == 0):
        self._temperature = None
    else:
        self._temperature = color_temperature_kelvin_to_mired(self._luminary.temp())
    self._brightness = int((self._luminary.lum() * 2.55))
