Unifi Protect integration - modify IP through GUI

There is no way to modify the IP-address of Unifi Protect.
You usually need to change the IP once you decide to seperate your camera network into a seperate VLAN to secure it better.
I had to change these lines to get it up and running again:

Nope. 20 charrrr.

When I tried to readd the Unifi protect integration with the new IP-address it said that it was already configured (I guess that refers to the mac address in the configuration?) Could you make it update the IP on during this check?
I also changed the password of the unifi protect user, I then got a red reconfigure button on the integration and I was able to input the new password, so it looks like there is some ability to change configuration data?

Not sure if this will be allowed under home assistant core but there are many custom integrations which benefit of option flow handler to modify initial data. From developer perspective, we actually have full access to initial data and options.

+1

This is really needed. If the hostname or IP changes (there are many reasons this can happen) it is impossible to re-activate the integration without hacking core registry files.