HassIO Rpi4 - switch from Wifi to Ethernet


I’ve installed HassIO on RaspberryPi using my-network file on USB with wifi configuration. Now I have my rack prepared and I would need to disconnect from wifi and start using ethernet connection. Can you please advise how to do it?

My thoughts are that I need to create separate network file for wired connection and import it from USB in Supervisor. But how to remove existing wifi configuration so it will disconnect from Wifi?

Thank you

Use the USB process to add a wired connection.

Test that the wired connection woks.

Use the USB process again to remove the wifi config from the file.

Would you have example of config file which contains both ethernet & wireless configuration in one file?

Thank you