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/InstallationDoor Module Panel
Purpose, Function
Styrofoam door module panels have been adopted for reducing vehicle weight.
Construction
Styrofoam is applied to the door module panels (shaded areas) during manufacture.
...
Electronic Spark Advance Control [Skyactiv G 2.0]
Outline
Controls ignition to optimum timing according to engine operation conditions.
Serviceability has been improved by eliminating the necessity of ignition
timing adjustment.
The PCM determines the engine operation conditions based on input signals
from each sensor a ...
Main Relay [Skyactiv G 2.0]
Purpose/Function
Supplies power to each part.
Supplies battery voltage to each part based on the signals from the PCM even
though the ignition is switched on or off.
Construction
Installed to the relay and fuse block.
Operation
After the contact poin ...