Digital remote control power switch for lights