ericklein/air_quality

Temp, humidity delta is reporting <1 changes as 1 in infoScreen

Opened this issue · 1 comments

sensor value = 66.32
averaged value (from total sample set) is 66.52

This is an edge case where subtracting the rounded (+.5) (int) of these values yields -1 even though the temperature did not change 1 degree.

Solution is likely to (int) the base values and look for >1 movement.

will fix during the UI refresh