How to determine what data source contributed a device