Cannot change static IP of ethernet device

So I have a weird issue.

When I try to change the static IP of a ethernet device, when attempting an upload of the config via OTA, its trying to connect to the NEW ip rather then the OLD, resulting in a failed upload.

I then have to change the IP back to its original IP for the board to connect to esphome again.

Anyone seen this before and know a workaround?

Thanks

Use use_address

are you sure this works with the ethernet component?

As it didnt like it

  • use_address (Optional, string): Manually override what address to use to connect to the ESP. Defaults to auto-generated value. For example, if you have changed your static IP and want to flash OTA to the previously configured IP address.

Ok sorry tried again and working now,

its getting late. im getting tried haha.

Thanks

sure? Any yaml/logs you got? (How to help us help you - or How to ask a good question)

  • use_address (Optional, string): Manually override what address to use to connect to the ESP. Defaults to auto-generated value. For example, if you have changed your static IP and want to flash OTA to the previously configured IP address.