Pots do not control relay times

The code that you have posted in post #31 uses blocking timing based on delay().

If more than one thing shall happen in parallel you need non-blocking timing.
Sadly there is this always the same not explaining much too short hint to a hard to understand example-code blink-without understand ehm sorry blink without delay

So I want to encourage you to make another attempt to understand non-blocking timing
where the explanation is based on a everyday-example of pizza-baking
and uses easy to follow specific numbers like
13:05 - 13:06 = 1 minute etc.

please give it a try.

best regards Stefan