Can anyone tell me of an else statement is compatible with a while loop in openHab? In Python, it would execute when the while condition became false, ensuring it always runs when the loop exits. Sometimes along the lines of:
I’m not sure if you can use while with else statement, but you could make an infinite while loop (while 1=1 for example), and use break when if condition is satisfied.