If a simulated switch is currently off, will sending it the off command cause it to send that off action on to the system, or will it just be ignored, because it was sent the command to enter the state it’s already in?
Of course, I could just test this to find out, but I want to know the expected behavior.
What I’m going for…
Basically, I want to have a simulated/Virtual switch that will pass-thru an on/off command once it is received, even if it is currently already in the state that is called for in the command.
To test this, I created two pistons in webCoRE…
if switch1 turns on
then turn on switch2
if switch2 turns on
then turn on switch3
When all three switches are off, and I turn switch1 on, the pistons turn on both switch 2 and switch 3.
However, if switches 1 & 3 are off, and switch2 is On, when I turn on switch1, nothing else happens (i.e. somehow, the command to turn on switch2 which is already on gets ignored, and the system never sends on the command to then turn on switch3).
Does anybody know of a way of getting it to pass the command through even when the switch receiving the command is already in the state being called for?