We don't really need to tune the I Gain, instead, we just need to return it to the default from Betaflight.
Connect your drone to Betaflight and go into the PID tuning tab (#1).
Enable expert mode in the top right of the configurator (#2)
Move the "Drift / Wobble" (I Gain) slider back to 1.0 (#3)
Hit "Save"

