Set up the parameters including the region to solve over, the temperature outside as a function of time, the physical constants, and the boundary conditions:
Visualize the temperature measured at the thermostat, the outside temperature, and the triggers for the heater. A blue background is shown where the heater is on: