Fix -Wdouble-promotion warning just using sensor_value_to_double() routine. Fixes #68284 Signed-off-by: Armando Visconti <armando.visconti@st.com>