If you are referring to forcing the camera to day mode (IR and IR cut filter don't activate) then you can open the live view for the camera and change IR mode to OFF in the image settings menu.
If you are looking to disable the IR LEDs while still maintaining the IR cut filter functionality, that can't be done at this time.
I dont have any Image settings menu by connecting directly to the camera's IP address or Unifi Protect.
What i want is disable IR because the camera is behind a window so when it turns dark the IR is reflecting into the window
This is the wrong forum to discuss UniFi Protect.