tidy up

Tidying up the code to remove references to external temp sensor.