Rework 'GetTempSensors' code