Changing the port used by Z2M for Sonoff Coordinator

I’m using a Sonoff Zigbee 3.0 Plus coordinator and everything is working fine. However, within the Z2M Add-on UI => Settings => Serial it says that the port is /dev/ttyUSB0. I’ve read that it is better to use the /dev/serial/by-id... ports. This protects against changing the physical port which my dongle connects to or, if I wanted to use a USB hub.

If I change the port to /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ea53ac421813ec11bae321c7bd930c07-if00-port0 and click submit then the port changes back to /dev/ttyUSB0.

My questions:

  • How can I change this?
  • Should I change this?
  • Is it actually correct behind the scenes?

Thanks in advance for your help.

I found the answer whilst watching MostlyChris’s latest video. I had to slap my forehead. The setting, of course, is done within HA by going to the Add-on and then into the Configuration tab.