I can suggest using python you can use time not sleep to make the sensor not sense for certain amount of time
@hemsharan2050 i am looking for coding directly from bolt cloud.
You can use sleep in js usig different syntax
The code editor of Bolt Cloud is not ideal to writing this logic. We would highly recommend a python code to get the desired result.