Wait_template in python_script

Is there any way to use wait_template in a python_script?

Nope. Appdaemon.