function getExternalId(device) {
  return [DEVICE_EXTERNAL_ID_BASE, device.deviceid].join(':');
}
@description Get the external ID of the eWeLink device.
@param {object} device - The eWeLink device.
@returns {string} Return the external ID of the Gladys device.
@example
getExternalId(device, 1);