Well balanced high order 1D schemes on non-uniform grids and entropy residuals