This is true for minimally-coupled matter fields. In the presence of non-minimal couplings there appear extra terms in the thermodynamic entropy, which are absent in the entanglement entropy, as we discussed earlier in Section 3.16.