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/InstallationBattery Inspection [Skyactiv G 2.0]
WARNING:
Since battery acid is toxic, be careful when handling the battery.
Since battery acid is highly corrosive, be careful not to allow it to contact
clothing or the vehicle.
In case battery acid contacts skin, eyes, or clothing, flush it immediately
with running wa ...
Fuel Distributor [Skyactiv G 2.0]
Purpose, Function
Distributes fuel pumped from the high pressure fuel pump to each fuel injector.
Construction
The fuel distributor is installed to the cylinder head.
The fuel distributor is integrated with the fuel pressure sensor.
...
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.
...