Added javadoc
fixed temperature sensor