The door courtesy switch goes ON when the door is opened and goes OFF when the door is closed. See Fig 1.