The entrained air affects how the bulk modulus (hence also density) changes as a function of the pressure. More air will make the fluid more "compliant" at low pressure. See the plot below, generated from theIsothermal Liquid Properties (IL) block.
For the hydraulic domain, the entrained air has a similar effect. The 3rd equation on this doc page shows how the bulk modulus changes with pressure and air fraction.