Hi, I am confused about Once and IF, I just want to know, does a program run on certain interval, or an action can trigger running a program, for example, when I turn on a bedroom it will trigger my function, procedure