So I loaded CoRE recently and so far its been wonderful but I have run into a couple of items I would be interested on getting a bit more clarification on. One particular one is the ability to add a wait option in the piston. Can some one explain to me how to properly use the wait piston functionality? What I mean by this is the scenario I have goes like this:
If user unlocks door
action 1: Turn on Lights
action 2: wait 5 seconds set SMH to disarm
action 3: stop siren
action 4: set thermostat
action 5: announce entry
I am expecting the behavior of the piston to perform action 1, then perform action 2, and then 3 and so on . So between action 1 and 2 there is a delay and then precedence of the actions. But this is not how things are working. Each action seems to be performed at the same time and the only thing being delayed is the SMH disarm action. How can you setup a piston to operate in the behavior I am expecting? Is it possible? With the current behavior the only way I can think to do something like I am looking for is to create pistons that perform actions and then call the other pistons using a single long action with multiple steps with in that action as I have not found a method for combining location and convenience items into a single action step.