Last night I decided to try out the new blueprints feature and used the GUI to configure a few blueprints. Unpon returning to my automations.yaml file I see formatting changes I dont like, now the above example looks like:
As a sort of workaround I wanted to post this to help others.
What you can do is to save away your existing (custom) formatted automations.yaml file in a folder called “automations”, then in your configuration.yaml so something like:
#used for the testing of the GUI editors and blueprints automation: !include automations.yaml
#regular yaml automations go here (custom formatted) automation yaml: !include_dir_merge_list automations/
This way your automations.yaml can be used to GUI type stuff and maintain its own formatting while preserving your hard work.
Also described in the documentation (includes an example for separating manually created automations from the ones created via the Automation Editor):
# My own handmade automations
automation manual: !include_dir_merge_list automations/
# Automations I create in the UI
automation ui: !include automations.yaml