LukasGrebe / ha-addons

Addons for Home Assistant
GNU General Public License v3.0
37 stars 42 forks source link

support enhanced serial #49

Closed john30 closed 1 year ago

john30 commented 1 year ago

could you add an option to allow use of enh: and ens: prefix for a serial device as well? I guess it would be best to extract that prefix to an own setting and prepend it to the device string in the run.sh script

terual commented 1 year ago

A workaround for now is to enter for instance ens:/dev/ttyUSB0 into the network adapter address option instead of using the USB device option to select a serial device. The network device field is validated as a string instead of a tty device and thus can be prefixed with enh: or ens:.