Example needed for really simple integration

I’m a recent convert to HA (running HAOS on a proxmox VM) and all’s going well moving things over from G Home and Smartlife. My garden lights present a small problem as there’s no HA integration and only Google Assist and Alexa are supported. Using the Google SDK option I can control them OK, but it feels really clunky HA to Google SDK to Google Assist to a Google Home to the cloud service for the lights, to the local controller to the lights, then finally to the lights.

So, I’d like to build an integration. There’s 2 APIs - one is local which just listens on a UDP port and takes simple text instructions - “turn on zone 1”. It’s one way only, no feedback or state so about as simple as it gets. The python to do it is of course really simple, but I haven’t written an addin before, so I wondered if someone had something really simple I could crib. The config would just be manual IP of the gateway device (or perhaps discovery using broadcast) with just a service call to pass a simple text string. Anyone got any suggestions on what to look at to get me started?

Thanks

pete S