Rules and conditions

Small question about conditions and timers.
I have created an rule.

The rule was done via the OH UI, by selecting the needed steps.

The rule start within a given trigger.
Then it should wait for xx sec and continue, but only when a given condition is true.

So will this give condition, checked by the start of the rule via the trigger, or will it check,
after the waiting time, if the condition is valid?

This is what happens if you specify the condition in the UI

In order to do this you need to use blockly or similar. In this case no need to include the condition in the UI

To elaborate a bit in @moody_blue’s correct answer, you will omit the condition. Choose an inline script for the action and select your language if choice. If you are not a programmer I recommend Blockly (if you don’t see that as an option install the JS Scripting add-on).

From there you’ll create a timer for XX sec. In the body of the timer you’ll have an if to see if your condition is true and do the work.

There are other approaches but this is probably the simplest.

If this rule is likely to trigger while the timer is running you might need to use a different approach.