TCP output?

While I can see tcp input components (tcp_binary and tcp_sensor), I can’t find a component to give a tcp output.

Usage case: I have an ethernet-enabled relay card. Bytes are sent to it, in the form of tcp packets, to control the relay states. I wish to be able to control it from HASS…

You could give the command_line switch a try with something like echo -e '\x80' | nc host port.