get temperaturesensor list inside the loop