In it’s current state, it prevents home assistant from restarting with the following error in YAMLlint. did not find expected key while parsing a block mapping at line 5 column 13
I have a feeling, this is a YAML indenting issue but I simply can’t get it. Anyone able to help me figure this out or see any other issues? Thanks.
Yes, this a script not an automation.
I have gotten conditions to work in scripts before, but I’m having trouble with this one. Most likely because of the OR condition.
I have my scripts separated into different YAML files in a ‘scripts’ folder. Home Assistant refuses to restart and the error log specifically calls out this file.
while parsing a block mapping
in "/config/scripts/outdoor_holiday_lights_scripts.yaml", line 5, column 13
expected <block end>, but found '<scalar>'
in "/config/scripts/outdoor_holiday_lights_scripts.yaml", line 6, column 90
Any other info I can provide? I’m still pretty new to posting for help here.
Some text editors (notepad++, VScode & others) will tell you what column your cursor is positioned at in a status bar (usually at the bottom of the window).
I think column 90 is “~” I have no idea what that does.