i have the file automations.yaml and in lovelace → configuration → automations i can see both automations contained in the automations.yaml file, but i can not edit from it - when trying to click on the edit pencil, pop up message says only automations defined in automations.yaml file are editable.
If you’re really running “bare metal on Ubuntu”, then you can use any method to access the files (Samba, FTP, SSHFS, SSH, etc.) and any editor to edit (like vi!).