If I want to change my HA from 192.168.50.XX to a new router 192.168.1.XX, how to modify (and where) in HA and all devices that are at old IP (like myStrom) how can I modify the IP address in HA?
I have no way to see and modify the IP address of myStrom device.
In the default configuration, the HA receives its IP configuration from the router via DHCP. If a static IP is assigned, you can change this via Settings → Network → IPv4 (or IPv6).
You have hit one of the areas where HAs move to set everything up in GUI have cause a loss of options.
If you want to keep the new IP range, then you will have to delete your devices and then re-import them in HA with the same name and rename any of the entities you had renamed before and set the right tags and area for each device and entity.
This is a huge work, so go with the other suggestions here.
Take a screenshot of your old routers DHCP reservation list and set that up in the new router with the old IP range.
If you did not have reserved IPs in your old router, then make a copy of the old router lease list, since some of your devices might require the same IP as on the old router and then you need to reserve that IP for that specific device in the new router.
This depends on how the device is registered in HA.
Thanks for all your answers.
Unfortunately I have to change of router address… but now if my device myStrom was connected by wifi, where can I find in HA the wifi configuration of this device ?
I have checked configuration.yaml and other yaml without success and there is also no myStrom.yaml file.
You might have to remove the device and then import it again.
The potential big issue here is if you have automations based on device_id and not entity_id.
If it is device_id then you might have to redo the automations too.
If it is entity_id then you can just name the new entity the same as the old one.