Is it possible to turn off a motion sensor for x seconds? I tried a few things with scenes, but I will not get it done.
I want to use this function for my "Sleep"-scene. When I activate this scene, it turns off all my lights in my livingroom. But I have a motion sensor in my livingroom and a Blockly script for turning on the lights when there is motion detected.
So when I activate the sleep-scene, the motion detector is on. I want to turn the motion sensor off for x seconds, so the lights won't turn on immediately.
Does anyone know how to do this?

Greetings,
Melvin