Boolean Will not go back to false

See the rule action and key need know what I’m doing wrong

That looks OK to me, though it's possible I'm missing something (which I'm not going to blame the need to flip back and forth between three screenshots for when it's still my fault, but if you're able to capture this on a desktop screen, it might be easier to spot, with a "Full Screen" screenshot on the phone being a good second choice :slight_smile: ). At the moment when you took this screenshot, it appears your rule was still stuck in that repeat. As written, it appears that should exit after 5 repetitions, roughly 25 seconds. If that's not happening, I see you have action logging turned on. Is there anything revealing there?

In possibly unrelated news, I'd avoid clicking "Update Rule" or "Done" when you're waiting on a delay (I've recently learned this will cancel any in-progress delay). I don't think this affects repeats [EDIT: it does--all scheduled jobs as described below], but it might be a good idea not to perform any edits while one is in progress, either. I'm not sure if that could explain anything, but I figure it's worth mentioning regardless.

Maybe give it one more try and see what gets logged?

It would cancel a repeat, because the repeat is scheduled. Everything is unscheduled and then rescheduled by hitting Done or Update Rule. The rescheduling would not include an in progress repeat, fade dimmer over time, etc.

1 Like

Looks ok, I was worried your timings would cause a issue but I think your spacing should be correct. I would end the statement with a END IF, it "shouldn't" make a difference but try it anyway as it's good practice to do it.

Personally I would also create a group for all those lights then use that to do the ON and OFF. Your still need the lot for the capture and restore, but it will make it clearer and "should" be quicker/ more efficient.

I solved it by removing the rule and recreating it.... don't know why the boolean did not reset but it does now.