I would like to use one single flow to switch [my office] light on AND off, using the body sensor as a trigger.
This is not really an absolute must; just going for effiency and trying to avoid a 2nd separate flow to switch the lights off again.
if the sensor goes on : lights on
if the sensor goes off : lights off
How do I go about? In the below flow, the trigger doesn’t work. I have tried several variants, using the same Tag in the “AND” conditions as well, but to no avail.