Are you trying to dim it only at night or all the time? Do you have another switch in the cockpit that you want to dim it via, or only via the SkyView auto light sensor?
If you want to use the SkyView PWM, you need a transistor, and the easiest thing to use is a FET. See the schematic below. Any small P-Channel FET will do, you don't need the one listed in the schematic.
The below assumes the LED is a "12V LED" with a built in resistor. If not, you need a current limiting resistor for the LED which can be on either side of the resistor.