I’m trying to implement a ‘toggle’ rule such that a remote (NanoMote Quad) can toggle the state of a switch Item.
I want to use an update so that every of a button on the NanoMote will toggle the state of the switch. In the rules engine, there is the ‘if’ condition, but there seems to be no way to have an ‘else’ as I would use in the text based rules in OH 2.x.
How do I accomplish this with the OH3 rules engine.