@bravenel, what if you have actions after the "End Repetition"? Do they only execute after the "while loop" is done? Here's an example:
So, in this example, would the attic light turn on
A) after the motion was inactive (up to 30 seconds after the motion goes inactive to be 100% accurate)
B) immediately after the first toggle of the closet light and then the repeat would continue to toggle the closet light until the motion was inactive?
If it is A, this is one of the functions I've been looking for in RM. WebCoRE called them "conditional waits". This isn't the exact same thing but it's a way to get most of the way there and get almost the same outcome. This could be really useful in Triggers or Triggered Rules where you don't have the benefit of the "Cancel on Truth Change" for the repeat.