[Fix] Use Device ID to select the device

Set device_id argument to the unique Device ID rather than GUID
to update the exact device.

Some `fwupdmgr` commands (install, for instance) are failing to select
the device by GUID in case if more than one device with the same GUID
are attached to the DUT.
In that case the `fwupdmgr` requires user interaction to select the
proper device, but for non-interactiove sesions it throws an error:
"can't prompt for devices".

[Reference] https://partnerissuetracker.corp.google.com/issues/342980514

BUG=b:342980514
TEST=manual

Change-Id: Ibe4ab843992968020e8ab22d94765d7232183bec
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/moblab/+/5645367
Commit-Queue: Michal Matyjek <mmatyjek@google.com>
Reviewed-by: Jeff Liu <jeff.liu@cienet.corp-partner.google.com>
Reviewed-by: Przemysław Filipek <filipek@google.com>
Tested-by: Denis Pynkin <denis.pynkin@collabora.corp-partner.google.com>
1 file changed