@mattr555 why not pre-calculate the temperature based on the units require and place that in a variable.

That way we don't need to use an `if .. else` block, and this code will be cut in half (seeing as the else block is identical, but just uses a different temperature).