Double check at the end of your door that there isn’t a proximity switch. I had a similar issue and by luck of me pushing the doors all the way open on inspection the damn lantern went off. I ran the car up and got in the pit, sure enough they had a magnet taped the the end of the door and a switch on a bracket so when the doors opened fully it made the switch in the hoistway. I guess it worked in theory but of course someone had ran into the doors and they were not opening as far. May not be it but worth a look.