Fix temperature averaging bug in Barometer Plugin