How do I stop the 'door close' sound triggering when the door is closed?

In case someone needs in future, I got same problem but I solved it like this

Create 2 triggers volumes, second one to help reset sound and mechanism don’t get jammed by opening and closing rapidly.

2 cue sounds depending if close and open sound different