The blueprint can trigger many times when the light is ON.
Have a look at this blueprint as it probably what you are after.
Turn Light, Switch or Scene On & Off with Trigger Conditions
You can use the “Use The Entity State Option” add your door sensor and you can set any condition you like.
Blacky