Replacing thermostats for infrared heaters