Unable to modify network settings from UI

Hi,

Below is a screenshot from my Network Settings.
Specifically from the URL settings.

First of all: the reason I want to update these settings is that they are incorrect. The first url is set correctly, but the second is somehow a previous url that dates back from an older configuration.
This is causing issues with the Google Cast integration since that is still using the old url, which is no longer in use.

Commenting out or removing the external_url key has no effect whatsoever:

homeassistant:
  packages: !include_dir_named packages
  # external_url: !secret external_url

Any help is appreciated.

The Network configuration integration provides network configuration for integrations such as Zeroconf. It is managed by going to Settings > System > Network and is only available to users that have “Advanced Mode” enabled on their user profile.

did you enable “Advanced Mode”?

It’s located under the “user” tab of logged in HA user

I found the issue.
There wasn’t only a ‘external_url’ key, but also a ‘country’ key present under the 'homeassistant key.

Commenting out both keys unlocked both the ‘Network’ and the ‘General’ setting menus in the UI.

homeassistant:
  packages: !include_dir_named packages
  # external_url: !secret external_url
  #country: ##