In this note we investigate how to tune the thermostat hysteresis for a system of interconnected thermal processes. Using linear programming techniques and worst-case analysis we compute switch levels for the controller to make the system stay close to desired temperature levels. Both the case with and without amplitude bounded disturbances are treated. The same technique can also be applied to a system of interconnected tanks despite the fact that such a system is nonlinear.