Wordwrap in automations after saving

Over the past few months I have noticed that my automations.yaml is wrapped at about 81 characters. This does not cause any problems, but it is not very human readable. Is there a way I can turn this off, or perhaps is there a way I can format this to keep things more human readable? Here is an example of how I want it to look:

service: input_text.set_value
data:
  entity_id: input_text.front_door_lock_status
  value: >-
    {% set users = ['Chris','Violet','Pat or Bob','Melanie','Amelia'] %} 
	{% set userID = trigger.event.data.parameters['userId'] %} 
	{% set user = 'Keypad' if userID == null else users[userID|int -1] %} 
	{% if trigger.event.data.event_label == 'Manual unlock operation' %} Manual Unlock
    {% elif trigger.event.data.event_label == 'Manual lock operation' %} Manual Lock 
	{% elif trigger.event.data.event_label == 'RF unlock operation' %} RF Unlock 
	{% elif trigger.event.data.event_label == 'RF lock operation' %} RF Lock 
	{% elif trigger.event.data.event_label == 'Keypad unlock operation' %} Keypad Unlock ({{ user }}) 
	{% elif trigger.event.data.event_label == 'Keypad lock operation' %} Keypad Lock ({{ user }}) 
	{% else %} "{{trigger.event.data.event_label}}" 
	{% endif %}

Once I edit the automation and save it, this is what I get:

service: input_text.set_value
data:
  entity_id: input_text.front_door_lock_status
  value: >-
    {% set users = ['Chris','Violet','Pat or Bob','Melanie','Amelia'] %} {% set
    userID = trigger.event.data.parameters['userId'] %} {% set user = 'Keypad'
    if userID == null else users[userID|int -1] %} {% if
    trigger.event.data.event_label == 'Manual unlock operation' %} Manual Unlock
    {% elif trigger.event.data.event_label == 'Manual lock operation' %} Manual
    Lock {% elif trigger.event.data.event_label == 'RF unlock operation' %} RF
    Unlock {% elif trigger.event.data.event_label == 'RF lock operation' %} RF
    Lock {% elif trigger.event.data.event_label == 'Keypad unlock operation' %}
    Keypad Unlock ({{ user }}) {% elif trigger.event.data.event_label == 'Keypad
    lock operation' %} Keypad Lock ({{ user }}) {% else %}
    "{{trigger.event.data.event_label}}" {% endif %}

Thanks!

No. You are using the Automation Editor and that’s how it stores whatever you create.

If you don’t want to have your automations re-formatted and you want to include comments in your automations, use a text editor (I use VS Code) and save the file (or files) in a separate location.

There are instructions here for splitting your configuration that allow you to separate automations you create manually with a text editor from those you create with Automation Editor. All the automations will continue to be shown in Configuration > Automations.

Thank you!