Code for Heater Schedule