Try a Window Comparator circuit using a dual op amp... Lower limit puts heater on, upper limit puts fan on, in between nothing on...