Answer Hello, the flame sensor will sense the heat from the igniter and allow the gas valve to open. The solenoids control the gas flow, the heat is controlled by a cycling thermostat. Hope this helps! Read More... Answered by AppliancePartsPros.com | Tuesday, March 22, 2011