1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationCoupler Component Removal/Installation [Fw6 A EL, Fw6 Ax EL]
WARNING:
A hot transaxle and ATF can cause severe burns. Turn off the engine and wait
until they are cool.
Always wear protective eye wear when using the air compressor. If the air
compressor is used, any particles of dirt or soiling could spatter and get into
the eyes.
...
Air Intake Actuator Inspection [Manual Air Conditioner]
1. Connect battery positive voltage to air intake actuator terminal B (or C),
connect terminal C (or B) to ground, and then verify that the air intake actuator
operates as shown in the table.
If the operation condition is not normal, replace the air intake actuator.
...
Air Intake Actuator [Manual Air Conditioner]
Purpose
The air intake actuator moves the air intake door in the blower unit to switch
the air intake port.
Function
The air intake actuator drives the motor based on the signal from the climate
control unit and moves the air intake door to the FRESH or REC position.
...