Changed IP using CLI, but different IP appears on the router

Hello
I entered the IP incorrectly, and I couldn’t access my Home Assistant. To fix it, I changed the IP through cli following the instructions below:
ha> network info
ha > network update wlan0 --ipu4-address 192.168.0.12/24
I verify that the IP has been changed with:
ha> network info
The IP appears changed, but when I connect my raspberry pi to the router, the router shows the following IP 192.168.1.105 and I can’t access my homeassistant.

Isn’t the network address assigned by the router?

  • Shut down Home Assistant
  • On the router, assign HA the address you want it to have, as a static or reserved address (or whatever your router calls it)
  • Turn on Home Assistant

I can’t assign a static IP if the device is not connected to my router.

Ah, sorry. My router retains a list of all the devices that have been connected to it in the recent past.