How do i stop the buzzing action once door sensor is opened (LOW)

But i just want the alarm to stop once i OFF the switch (Which i dont want it to sound anymore)

We have seen no proof that the value in state ever changes. state is STILL a lousy name. What is it supposed to be the state of?