Question regarding ifs


#1

11 AM

OK answered my own question, it is either or. Sorry learning Web CoRE and a little hesitant to ruin a working Piston. Thanks.

In the above Screenshot I am using a contact and a motion detector. If I added another sensor in the if so it is like this.

execute
          if
                Front Door Sensor, Laundry room door sensor contact changes to open

and in the then line add another motion like this.

    Then
           if
            Living Room motion's, Laundry room Motion's motion is inactive

Do both contact sensors have to fulfil the argument changes to open or is it either or?
Same with the motion detectors being inactive, is it either or.

I would love to use the same Piston for two different doors.