Define temp sensor interface