Hotspot Static IP

I need a static IP for my hotspot FP3 with /e/os. It used to be a constant, but now it always changes when it is switched on and off. I have rooted my device and tried a few things, but nothing has worked so far. Does anyone have any ideas on how I could do this?
/e/ version 0.15-q Android Version 10