Start a new topic

Scene with multiple conditions

Is there a way to create a scene with two conditions from two different devices to control a third device.

6 people like this idea

while wishing for multiple conditions, why not ask for the current state of the device as well?


like this:


if (state of th16 is ON) 

    if (state of anotherth16 is ON)

      switch off th16

    endif

else

    switch on th16

endif



1 person likes this
Any change about multiple conditions? I have a RF bridge with sensor on the door. Opening door light a lamp. How to light a lamp if(door is open and lamp is off) and another scene, turn off the lamp if(door is open and lamp is on). On Tuya Smart life app we can create multiple conditions (or and).
Login or Signup to post a comment