**1) Give a description of the problem.
Single switch event fires twice. If the events are close enough together, the second will cause a semaphore.
2) What is the expected behaviour?
For a single switch event to only fire once.
3) What is happening/not happening?
Single switch event fires twice.
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
4/2/2022, 10:20:00 AM +569ms
+0ms ╔Received event [East Lamp].switch = on with a delay of 74ms
+10051ms ║RunTime Analysis CS > 15ms > PS > 10024ms > PE > 11ms > CE
+10052ms ║Piston waited at a semaphore for 10020ms
+10054ms ║Runtime (36538 bytes) successfully initialized in 10024ms (v0.3.114.20220203) (10052ms)
+10054ms ║╔Execution stage started
+10061ms ║║Comparison (enum) on changes = false (1ms)
+10062ms ║║Cancelling condition #2’s schedules…
+10063ms ║║Condition #2 evaluated false (4ms)
+10064ms ║║Cancelling condition #1’s schedules…
+10065ms ║║Condition group #1 evaluated false (state changed) (7ms)
+10067ms ║╚Execution stage complete. (12ms)
+10068ms ╚Event processed successfully (10067ms)
4/2/2022, 10:20:00 AM +565ms
+1ms ╔Received event [East Lamp].switch = on with a delay of 70ms
+35ms ║RunTime Analysis CS > 17ms > PS > 6ms > PE > 11ms > CE
+37ms ║Runtime (36435 bytes) successfully initialized in 6ms (v0.3.114.20220203) (35ms)
+38ms ║╔Execution stage started
+45ms ║║Comparison (enum) on changes = true (1ms)
+46ms ║║Cancelling condition #2’s schedules…
+47ms ║║Condition #2 evaluated true (5ms)
+48ms ║║Cancelling condition #1’s schedules…
+49ms ║║Condition group #1 evaluated true (state changed) (7ms)
+52ms ║║Cancelling statement #3’s schedules…
+57ms ║║on
+58ms ║║Executed virtual command log (1ms)
+61ms ║╚Execution stage complete. (24ms)
+62ms ╚Event processed successfully (62ms)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.