def set_device_schedule(device_id: str, time: str, status: str) -> str:
  """Schedule a device to change its status at a specific time.

  Args:
      device_id (str): The unique identifier of the device.
      time (str): The time at which the device should change its status (format:
        'HH:MM').
      status (str): The status to set for the device at the specified time
        (e.g., 'ON', 'OFF').

  Returns:
      str: A message indicating whether the schedule was successfully set.
  """
  if device_id in DEVICE_DB:
    SCHEDULE_DB[device_id] = {"time": time, "status": status}
    return f"Device {device_id} scheduled to turn {status} at {time}."
  return "Device not found"
Schedule a device to change its status at a specific time.

  Args:
      device_id (str): The unique identifier of the device.
      time (str): The time at which the device should change its status (format:
        'HH:MM').
      status (str): The status to set for the device at the specified time
        (e.g., 'ON', 'OFF').

  Returns:
      str: A message indicating whether the schedule was successfully set.
  
tests/integration/fixture/home_automation_agent/agent.py