OmniMount Motion52 Component

Hello,
I’m trying to study up on ESPHome before I get it running on an Atom Lite with an RS232 base.

My instance of ESPHome Device Builder is running as an add-on in my HA Supervisor. My hope is to use the ESPHome to make a sliders and button interface to the TV mount. The protocol seems rather straight forward (5-byte requests with 7-byte responses). I’d like to have the protocol work done on the ESP32 itself with entities to invoke the commands. I think in order to do this I would want to create a custom component?

I found an article on this that seems pretty good here
https://medium.com/@vinsce/create-an-esphome-external-component-part-1-introduction-config-validation-and-code-generation-e0389e674bd6

Still a few questions though.

Thanks,
Devan

Updated with answers

Found one answer here. Looks like custom components have been replaced with external components…
https://developers.esphome.io/blog/2025/02/19/about-the-removal-of-support-for-custom-components/

You are very convinced that you need custom component. Esphome has uart component and with some clever lambda you might be able to do what you want.
If not, this could be one option: