Mixed valence states in (SmxLa1—x)Tr2Al20 (Tr = Ti and Ta) studied using X-ray absorption spectroscopy