An apparatus for controlling two light sources using an input voltage from a mains light dimmer, the light sources comprising a first light source configured to emit light having a second colour temperature, wherein the second colour temperature is higher than the first colour temperature, the apparatus comprising an input connection for receiving the input voltage from the mains light dimmer, a sensor for sensing a value voltage of the input voltage, driving means for driving the light sources, and a controller for controlling the driving means responsive to said sensing.