Hello
I am looking for some help with setting up a flow. I have a motion sensor in the bedroom and a motion sensor in the bathroom. I would like for the motion sensor in the bedroom to switch on the light in the bathroom but if after 30 seconds no motion is detected in the bathroom then switch the light off. If within that 30sec motion is detected in the bathroom that the light should start on until no more motion is detected.
Do it in combination with timers.
1st flow: Motion in bedroom detected, turn on bathroom light and start 30sec timer.
2nd flow: Motion in bathroom detected, stop timer.
3rd flow: When timer reached 0, turn off bathroom light.