The best place is at canopy height, ideally near the tops of the plants but not directly under the light or in the path of a fan.
Many growers hang the sensor slightly off to the side of the canopy so it measures the air the plants are actually experiencing rather than the hottest spot in the tent.
As the plants grow, move the sensor up with the canopy to keep the readings relevant.
Hope this helps.