Heating or cooling Controller