1) Give a description of the problem
I have a very simple piston for toggling the TV and fan on/off on the push of a button based on if the fan/TV are already on.
2) What is the expected behavior?
On one press it should turn the fan off if it is on. On another press it should turn the fan on if it is off.
3) What is happening/not happening?
The trigger is staying “True” for too long. My understanding was that “because 2 [triggers] can never be simultaneously true.” But it runs the first IF when the button is pushed and the fan is on, and turns it off, then the fan being off matches the second criteria but the button pushed is still true so it runs the second IF too turning the fan back on.
4) Post a Green Snapshot of the piston