I have installed Home Assistant (HA), using CasaOS. This runs fine, but I need HA to connect to the usb port of the raspberry pi. There is a connection to the P1 port of my energy meter.
What is the best way to connect HA to the serial cable connected at /dev/ttyUSB0 ?