def set_device_info(
    device_id: str, status: str = "", location: str = ""
) -> str:
  """Update the information of a AC device, specifically its status and/or location.

  Args:
      device_id (str): Required. The unique identifier of the device.
      status (str): The new status to set for the
        device. Accepted values: 'ON', 'OFF'. **Only these values are allowed.**
      location (str): The new location to set for the device. Accepted
        values: 'Living Room', 'Bedroom', 'Kitchen'. **Only these values are
          allowed.**

  Returns:
      str: A message indicating whether the device information was successfully
      updated.
  """
  if device_id in DEVICE_DB:
    if status:
      DEVICE_DB[device_id]["status"] = status
      return f"Device {device_id} information updated: status -> {status}."
    if location:
      DEVICE_DB[device_id]["location"] = location
      return f"Device {device_id} information updated: location -> {location}."
  return "Device not found"
Update the information of a AC device, specifically its status and/or location.

  Args:
      device_id (str): Required. The unique identifier of the device.
      status (str): The new status to set for the
        device. Accepted values: 'ON', 'OFF'. **Only these values are allowed.**
      location (str): The new location to set for the device. Accepted
        values: 'Living Room', 'Bedroom', 'Kitchen'. **Only these values are
          allowed.**

  Returns:
      str: A message indicating whether the device information was successfully
      updated.
  
tests/integration/fixture/home_automation_agent/agent.py