Hello @houkensjtu
ok, I see. In UI-FLOW you could use an Execute code block and add something like this for deep sleep:
import machine
#sleep for 10 seconds
machine.deepsleep(10000)
or light sleep:
import machine
#sleep for 10 seconds
machine.lightsleep(10000)
BTW: I found a nice tutorial about MicroPython and sleep modes here.
Cheers
Felix