Do you have a very large automations.yaml file? Have trouble finding/seeing the beginning of each automation in the file? Here is a TIP
Install the “Highlight” extension and edit the settings like this:
In “highlight: Decorations”, click “Edit in settings.json”
When the file opens, scroll up to where it says “highlight.regexes”
Past this on the next line:
"(- id:).*?([^\n]*)": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#c3f5ea",
"backgroundColor": "#c3f5ea",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#c3f5ea",
"color": "#1f1f1f"
}
]
},
"(alias:).*?([^\n]*)": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{
"overviewRulerColor": "#7dbb8f",
"backgroundColor": "#7dbb8f",
"color": "#1f1f1f",
"fontWeight": "bold"
},
{
"backgroundColor": "#7dbb8f",
"color": "#1f1f1f"
}
]
},
After that, your automations.yaml file will look something like this
Now it’s easier to find the automations in there.