Rather than building out JSONL content by hand for the openHASP configuration, I wrote a Python library that I can use to define everything in code, including attaching automations for Home Assistant. Simply write some code, run a script, and it outputs the openHASP configuration in JSONL, and Home Assistant yaml files for automations etc.