Fixed bug to set the brightness on the lamps