this will allow you to achieve automatic control of the physical value (eg. temperature) and keeping it in the range (min, max).

How would the previous sentence be correctly capitalized?
This will allow you to achieve automatic control of the physical value (eg. temperature) and keeping it in the range (min, max).