I've read the API docs here https://developers.home-assistant.io/docs/api/rest and the configurator page here https://github.com/home-assistant/addons/tree/master/configurator and I can't figure out how to get the full automations.yaml via a API call. I have a token and list devices etc..
Does anyone have working code to get this file? Thanks!