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/InstallationAir 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.
...
Transfer Removal/Installation [Fw6 Ax EL]
CAUTION:
Performing the following procedures without first removing the front ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it is
pulled by mistake. Before performing the following procedures, disconnect the
front ABS wheel-speed sensor (axle side) and ...
Main Relay Control [Skyactiv G 2.0]
Outline
Supplies power to each part by switching the main relay on/off at the optimal
timing according to the vehicle conditions.
Block Diagram
Operation
When the ignition is switched ON, the main relay turns on and electrical
power is supplied to each sensor and devic ...