Move the float to the topmost and bottommost positions, and verify that the resistance between terminals A and B of the unit and the position of the float are as indicated in the figure.

Pid/data monitor and record procedure
Oil pressure switch inspectionMazda 6 Service Manual: Dtc table
DTCs are common for present and past malfunction diagnosis.
Note
When DTCs not shown in the DTC table are displayed, replace
the SAS unit.
If the air bag system warning light does not illuminate or
remains illuminated when the ignition switch is turned to ON position,
i ...
Mazda 6 Service Manual: Thermostat
THERMOSTAT REMOVAL/INSTALLATION
1. Remove the plug hole plate.
2. Disconnect the negative battery cable.
3. Drain the engine coolant. (See COOLING SYSTEM SERVICE WARNINGS.)
4. Remove the drive belt. (See DRIVE BELT REPLACEMENT.)
5. Remove the washer tank.
6. Remove the P/S oil pump.
Note
...