Control device for lighting