Boards, dispenser and ice maker did not help
The unchanged behavior forced the diagnosis away from components already replaced.
Multiple expensive parts changed nothing. The decisive clue came from the embedded magnetic door switch: its state changed the light, fan and flap together.
A similar symptom can have a different cause on another appliance or model.
The unchanged behavior forced the diagnosis away from components already replaced.
Light, fan and flap behavior became correct when the switch state was simulated.
That repeatable reversal localized the failure to the switch embedded in the door.
The embedded magnetic door switch sent the wrong door state. Because it was built into the door and not available separately, the confirmed repair required the left lower door assembly rather than another dispenser or control.
The technician explicitly reported that the problem was solved after the door containing the faulty embedded switch was replaced.
For the same sequence, record exactly which door movement triggers the flap and whether the interior light and fan change at the same moment. A technician can compare those states before ordering dispenser parts.