Water heater thermostats are a vital part of the unit. They help regulate the temperature by activating the heating elements. Here’s how to replace them.