[WIP] specify automation through code

Intended to show what programmatic configuration of the automation could look like.
This version configures all automation through code, but this can be dialed down to only certain automation.