adding code for new temp sensor and flow sensor