WLED piston formatting help

execution
automation
expression
triggers
piston

#1

1) Give a description of the problem
Need the piston to start a playlist from WLED each time the piston runs.

2) What is the expected behavior?
When automation is started in Smart things, WLED turns on, and the playlist of presets activate (play) then will reset to start from the beginning of the playlist each time.

3) What is happening/not happening?
When a door/window sensor opens it turns on an instance of WLED, when it closes it turns it off. This is accomplished by using the PISTON, a Virtual Switch and a on/off automation in Smart Things. On and off work fine. I need it to turn on AND run the playlist. Then reset so each time it runs it starts from the beginning of the playlist and not start wherever it stopped during the last cycle. I am 99% sure I have that part of the piston wrong.

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach logs after turning logging level to Full
8/1/2021, 2:40:18 PM +920ms
+0ms ╔Received event [My home].wc_async_reply = httpRequest with a delay of 0ms
+50ms ║RunTime Analysis CS > 23ms > PS > 6ms > PE > 22ms > CE
+52ms ║Runtime (42679 bytes) successfully initialized in 6ms (v0.3.110.20191009) (51ms)
+53ms ║╔Execution stage started
+63ms ║║"Turning off WLED"
+64ms ║║Executed virtual command log (1ms)
+66ms ║╚Execution stage complete. (13ms)
+67ms ╚Event processed successfully (67ms)
8/1/2021, 2:40:18 PM +318ms
+1ms ╔Received event [My home].test = 1627846818315 with a delay of 2ms
+63ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 37ms > CE
+68ms ║Runtime (42671 bytes) successfully initialized in 5ms (v0.3.110.20191009) (67ms)
+72ms ║╔Execution stage started
+89ms ║║Comparison (enum) off is (string) off = true (2ms)
+91ms ║║Condition #2 evaluated true (13ms)
+92ms ║║Condition group #1 evaluated true (state did not change) (14ms)
+95ms ║║Cancelling statement #18’s schedules…
+107ms ║║Executed virtual command setVariable (2ms)
+127ms ║║Sending internal web request to: 192.168.xx.xx/json/state
+132ms ║║Executed virtual command httpRequest (16ms)
+134ms ║║Requesting a wake up for Sun, Aug 1 2021 @ 2:40:38 PM CDT (in 20.0s)
+170ms ║╚Execution stage complete. (99ms)
+187ms ║Setting up scheduled job for Sun, Aug 1 2021 @ 2:40:38 PM CDT (in 19.949s)
+196ms ╚Event processed successfully (195ms)