my mistake, I thought I had used wait_for_trigger with a trigger ID but had actually set the trigger to the same as the trigger ID of the automation but not the trigger ID itself!
Unfortually the repeat until trigger does not seem to give me the same option when I select this same device. As you say, the syntax in each differs (the top set of code is from the repeat until trigger and the bottom is from wait for trigger)

