UI improvement: Toggle button to switch automation between YAML/visual

To edit in YAML now takes two clicks, once on the vertical ‘three dots’ followed by clicking on a selection ‘Edit in YAML’. This could be brought back to a single click on a toggle/button. Like this for example: