a device and method are provided for controlling the temperature , in particular for cooling , of an led lamp or led modules of an led lamp , e . g ., for curing a light - cured pipe . the device includes : a fluid supply line and multiple heat exchangers connected to the supply line ; multiple leds coupled to each heat exchanger with respect to heat transfer ; and a fluid return line . the fluid supply and return lines are connected to each other in a fluid - tight manner by various combinations of l - pieces and t - pieces in or at the ends of the fluid supply and the return lines , so that the fluid flows from the leds in a spatially separated way and the fluid supply and return lines have at least two parallel fluid connections to each other , the heat exchangers being arranged in the fluid connections or constituting the fluid connections .