Help creating a Scene with SNZB-06 sensor that won't turn lights off if I return

I’m having trouble creating a scene with my SNZB-06 sensor and iHost. I’d like the lights to turn off after 5 minutes of absence. I set it up like this, as shown in the photo:

What happens is that if I leave the room and the sensor detects that there is no one in the room and starts the 5-minute countdown, if I return it doesn’t reset the timer, it will turn off the lights when the 5 minutes have passed since I first left. Even though I’m in the room.
How can I create a scene that works by turning off the lights after 5 minutes of absence and canceling the countdown when I return?

Your scene is correct. but Ihost does not have the ability to handle such a complex scene. But you can solve this in such a way that you have to create two additional scenes.

MOTION - Disable automatic scene (yours).

NO MOTION - - enable automatic scene (yours)

1 Like

Interesting, I’ll definitely try it.
Thank you!