Here is example of Rules API solution to copy the temperature measurement to number field for calculations