def _clean_device_name(device_name: str) -> str:
  """Clean device name (remove an preceding : from name).

  Args:
    device_name: The name of the device.

  Returns:
    The device name.
  """
  pos = device_name.find(":")
  if pos < 0:
    return device_name
  return device_name[pos + 1:]