Hey HN - I made a Go library for writing Home Assistant automations. I've been using it for all my Home Assistant automations for a couple months now. I wrote a short blog explaining why I wrote gome-assistant here
https://saml.dev/blog/gome-assistant-intro.
Give it a try and let me know what you think.