Iām reading: I donāt trust that I can configure new IP addresses and it will work first time.
You have made a conscious decision to reconfigure your network. Your yaml includes static IP Addresses.
Write it down in a chart. Device, MAC address, old IP Address, new IP Address, DNS, WiFi SSID, fallback Access Point SSID, etc
Print it out and cross them off as you update them. One by one. Cut and paste can be used to prevent transcription fumbles.
Reconfigure your router last, the DHCP section being most important.
Restart everything and it should work together in glorious harmonyā¦
Your fallback/failoverfor any device (I think this is the āthird networkā concept some are suggesting) is the Access Point mode where it canāt connect to a network, so goes into Access Point mode, where you can connect directly to it and try again. A good idea is to make sure the SSIDāS are unique so you can find them later. You shouldnāt need to break out your serial adapter to reflash - that is what that Access Point functionality is there for. I strongly recommend you allocate a password for this, especially once you recognise what a serious security loophole this can pose if your router becomes unavailable, even for short lengths of time.
The official ESPHome instructions seem to cover exactly your situation quite clearly, especially the section on Connecting to Multiple Networks see WiFi Component - ESPHome - Smart Home Made Simple
I also quote from there
āItās recommended to provide a static IP for your node, as it can dramatically improve connection times.ā
Iām a big fan of static IP addresses so I know where to expect to find a device on my network, no clashes, no surprises, so I plan it carefully.
Control, planning, not guesswork and hope.
Update: on reading again, seems you got most of it right, and those 6 errant devices should be able to be seen and fixed using the Access Point route. Then go back and systematically assign everything so it corresponds to that list you should meticulously maintain as you add/change/remove devices.
Further update: I see you commented out the Access Point in your yaml. In which case you will have to revert to your old network IP range, connect to those devices, and update them. Most routers support backup and restore of configurations, so this should be fairly painless. Donāt forget to go back and add the Access Point with passwords to all your other devices so you arenāt caught out again.