Fan hysteresis - maybe 5 degrees

Is there any way to add a little hysteresis to the fan control? The rapid fire changes are a bit annoying.