Use EntityStateAttribute enum in integration (#175933)