Hey Guys I need some help with a rule to turn some lights on, I want the rule to keep trying until the lights are on.
Below is my code which still seems to fail sometimes, so I was wondering if the code is not correct ?
IF (Bedside Lamp 2, Bedside Lamp 1(on, on) any is off(F) [FALSE]) THEN
On: Bedside Lamp 2, Bedside Lamp 1 (Command only switches that are off)
Repeat 10 times every 0:01:00 (stoppable)
Until (Bedside Lamp 2, Bedside Lamp 1(on, on) all on(T) [TRUE])
END-REP
END-IF