How do I set a static IP when using wlan?

I try to change the v4 IP address and then get the following error when hitting ‘save’:

Failed to change network settings
Unknown error, see supervisor logs

or I get this:

Failed to change network settings
Activating connection failed, check connection settings.

Then I look in the supervisor logs I get this:

2025-03-01 14:17:00.993 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-9899' coro=<DBus.sync_property_changes.<locals>.sync_property_change() done, defined at /usr/src/supervisor/supervisor/utils/dbus.py:242> exception=DBusInterfaceMethodError('Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/6”')>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/utils/dbus.py", line 260, in sync_property_change
    await update(changed)
  File "/usr/src/supervisor/supervisor/dbus/network/interface.py", line 160, in update
    await self.connection.connect(self.dbus.bus)
  File "/usr/src/supervisor/supervisor/dbus/interface.py", line 96, in connect
    await super().connect(bus)
  File "/usr/src/supervisor/supervisor/dbus/interface.py", line 50, in connect
    await self.initialize(await DBus.connect(bus, self.bus_name, self.object_path))
  File "/usr/src/supervisor/supervisor/dbus/interface.py", line 108, in initialize
    await self.update()
  File "/usr/src/supervisor/supervisor/dbus/network/connection.py", line 118, in update
    await super().update(changed)
  File "/usr/src/supervisor/supervisor/dbus/interface.py", line 128, in update
    self.properties = await self.dbus.get_properties(self.properties_interface)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/utils/dbus.py", line 230, in get_properties
    return await self.properties.call_get_all(interface)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/utils/dbus.py", line 125, in call_dbus
    raise DBus.from_dbus_error(err) from None
supervisor.exceptions.DBusInterfaceMethodError: Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/6”

Seems like a bug?

Give Home Assistant a reserved IP address in the router, then reboot HA.

Yeah I can’t, my (Mifi)router doesn’t have any settings like that… but thanks for the thought!

Hello Toon,

Then put a router that works in between. I do this for all my connections to ISP’s, I don’t touch their stuff, just use my own router in front.

Thnx for your suggestion, but that is not possible atm, that’s why I am trying to use a feature of HA…