Sensor not found after IP update

Trying to move some sensors to a different subnet. Some are fine after the move, but HA cannot find others - it is still trying to connect to the old IP address.

Is there any way to force an update of the device IP address it should be looking on? I have tried to update the firmware with no change in status.

2022-02-24 11:23:15 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for 192.168.7.82 @ 192.168.7.82: Error connecting to ('192.168.7.82', 6053): [Errno 113] Connect call failed ('192.168.7.82', 6053)

It’s not linked with firmware of ESP itself ! Just delete the corresponding ESP integration in HA, restart HA, then add back that same ESP with new ip and you should be fine !
HA restart should not be anymore needed but better safe than sorry (in the past it was not deleting immediately entities and so you were ending with duplicates !

Thanks. It is odd that some migrate and others do not.

yep and quite surprised some migrated as till recently it was not able to do it by itself ! Perhaps the one that migrated automatically had more recent esphome fw in it ?

1 Like