added subroutine for heated equipment thermostat