Measure the temperature at the bottom of the enclosure. Don't worry about the substrate, ball pythons have a powerful thermal sense and will locate the UTH and burrow down in the substrate to get to the warm spot.