Tip
In the Automation Editor’s upper right hand corner is its overflow menu.
- Click it and select ‘Edit in YAML’
- Select and copy all of the displayed YAML and paste it into the forum.
- Select what you pasted and click the
</>
icon in the forum editor’s menu. This step displays the YAML correctly (see FAQ guideline 11).
This is the standard procedure for sharing automations and scripts. A user can simply copy the YAML you posted and paste it into a new, empty automation on their system. They can then switch from ‘Edit in YAML’ to ‘Edit in visual editor’ to display it in visual mode.
That’s far more convenient, and less error prone, than following dozens of steps to create an automation.