If I have created two families using my account, to which one will the devices shared by others belong?

Devices that are shared by others are on the list of home appliances and included in the shared devices that you have received. You can view these devices in both families.