Complete switch temperature unit function
Merge