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.
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.