The present invention provides a
system, method and apparatus for controlling a gas-fired heater connected to a fuel source via a fuel source valve that includes one or more power sources, a temperature sensor, a pilotless igniter disposed within the gas-fired heater, a
flame sensor disposed within the gas-fired heater and a controller electrically connected to the one or more power sources, the temperature sensor, the pilotless igniter, the
flame sensor and the fuel source valve. The controller turns the pilotless igniter on for a first time period and opens the fuel source valve whenever the temperature sensor indicates that a temperature is less than or equal to a low temperature setting. The controller also closes the fuel source valve whenever the temperature sensor indicates that the temperature is greater than or equal to a high temperature setting or the
flame sensor indicates that a flame has gone out.