Refactor thermometer

The thermometer sensor has been improved (doc and testing updated also)