Relais and Temperture

The problem i have is howto get the Bias_Relais LOW until i have maual switch the Bias_Switch to LOW and then back to HIGH.

Set a boolean flag, beenLow to false. When the switch is LOW, set the flag to true.

When the switch BECOMES HIGH, set another flag to true, indicating that the relays can now be triggered.

You might explain why this is necessary, though.