Latest configuration. This will hold power for appx 5 seconds even if the door is closed immediately.I haven't considered a suitable solution for handling fast transitions, such as opening and then quickly closing the door within a second. Precisely, we need to maintain the case where the switch is open for some time even if it is just closed immediately.









