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: Immobilizer System
The immobilizer system allows the engine to start only with a key the system
recognizes.
If someone attempts to start the engine with an unrecognized key, the engine
will not start, thereby helping to prevent vehicle theft.
If you have a problem with the immobilizer system or the key, consult ...
Mazda 6 Service Manual: Illuminated Entry System
When the illuminated entry system operates, the overhead lights, the courtesy
lights, and an ambient light* turn on in the following conditions:
The driver's door is unlocked after the ignition is switched OFF.
The ignition is switched OFF with all doors closed.
NOTE
(Overhead lights) ...