How to make drone with 2-axis gimbal look at certain ROI?

I’ currently programming a drone using the Python bindings of MAVSDK. During flight, I want it to watch a certain region of interest (ROI). According to the docs, this can be done using the method set_roi_location of class mavsdk.gimbal.
However, my gimbal has 2 axes only and therefore cannot process yaw commands. If I want it to look at a certain position, I have to adjust the drone’s yaw accordingly.
Is there a way to fix the drone’s yaw to a certain ROI, similar to fixing the gimbal’s yaw?