To pass an entity to a subform, make sure the subform variable is set to that entity and the variable type is set to an object. For this example, the listbox currently selected data will be passed into the subform.
Listbox Property List
Subform Property List
Once everything is set, the selected item in the listbox will automatically update the entity attributes within the subform as shown below: