I have a 3-way remote control valve connected to a Smart life NO/NC relay that rotates a quarter turn each toggle of the relay. I want to read the position (on or off) to determine the number of toggle functions of the relay required to get to the position I need, as one change of position I want requires the switch to change one time (from off to on) but on the return to the original position requires the relay to be toggled 3 times ( off-on-off) with a 10-second delay between each toggle as it rotates to the next quadrant. In"C" I would use an if... else condition. I cannot see how this might be achieved as a single Tap to run within Smart Life. Can anyone help me, please? If in the power off position, toggle once but if in the power on position toggle 3 times.