IP-Adress of shelly thing changes after restart

hey there.

i’m running OH 5.0.1 on a pi4.

After replacing a broken Shelly 1 PM, I had to change the IP in the Thing, as I gave the new Shelly a different IP.
For some reason I cannot explain, the IP keeps changing back after a restart.

Of course, a workaround could be to simply assign the device the old IP, but I would like an explanation why this is happening.

Many thanks.

What do you mean by ‘IP keeps coming back’?
From the OH perspective it was never gone. OH cannot know when you replace hardware.
IPs are statically configured in the Thing so of course it doesn’t change unless you do so manually.

thats what I expected how it shoud be.

Sorry for the bad explanation.
What I mean is, that the IP in the thing in OH changes after restart.

Luckily, that this is only happening with the one thing where I replaced hardware and changed the ip.

I already restored a backup of my live system on a diffrent pi4 and had the same phanomen there.