Im trying to write a script that checks a window sensor, then does a
different action depending on whether the window is open or closed. Is
there a way i can write this without having two scripts. Im currently
having 1 script for condition A and anot...