Temperature-induced configurational excitations for predicting thermodynamic and mechanical properties of alloys