Working UART Sensor example

Hi.
I’m trying to extract some serial values (from an arduino mega) and publish them to HA via an ESP8266 running ESPHOME.
The arduino mega sends to serial values using the format: 10a, 20b, 17c… etc.
I’de like to capture those values and send them to HA.
I’ve based my attempts on the Custom UART example > https://esphome.io/custom/uart.html > but without sucess…
Does anyone have an similar working example that could share?

Thanks.

Hi, i also have identical problem and looking for solutions. Do you figure something out? Thanks