I've seen the opening the door trigger a light to go off under the RV, even when the door switch is off.
They would indicate that there is some circuitry going on even when the switch is off.
Might be good to also find the sensor that knows if the door is opened or closed