20+ Yeelights, new Wifi-Router. A way to reconnect ALL lights at once with the new device?

Hello, upgrading my WiFi and looking for a smart method to connect all my yeelights (bulbs, strips, power outlets as well) in about ONE stroke without going through the proces for every device?