With ``bang-bang.'' When it gets too cold bang, switch on the heater. As soon as the temperature rises above 60° bang, switch off the heater. Too hot? Bang, the air conditioner starts, and so on. Thats why the room temperature becomes uncomfortable before switching. And the error will oscillate, (saw tooth as the temperature variation will be slow..somewhat exponentially up and exponentially down) between each on and off cycle.
Some references that discuss this :
1) "Modified Bang-Bang Control Law for Structural Control Implementation - here0733-9399\(1996\)122:8\(771\)).
2) "The bang-bang funnel controller: time delays and case study", 2013 European Control Conference (ECC) July 17-19, 2013, Zürich, Switzerland.here
3) Dancy, Abram P., and Leif E. LaWhite. "Interleaved power converters incorporating bang-bang control." U.S. Patent No. 6,577,109. 10 Jun. 2003.
Hope this helps