Light functions updated
Dimming working