Does a thermostat simply control the heating device, say a heat tape, by turning it on when it's less than the set temp, and off when the set temp is hit and/or over? Or does it control the amount of electricity current flow to the heat tape so the heat tape works from its min to max power? Your inputs are greatly appreciated.