Hi I'm using below code to fetch associated product list
$associated_products = $_product->loadByAttribute('sku', $_product->getSku())->getTypeInstance()->getUsedProducts();
Is there any way to pass entity_id and fetch product belongs to that particular entity_id
?