Turns off CAM-powered lights when laying down is detected by Active Sleep. Use this applet to turn your PC lights off when going to bed.
Then

Set lighting brightness to 0%
This action will set the brightness of the active lighting profile to 0%.
This action will set the brightness of the active lighting profile to 0%.