Edit: Nevermind

Edit: misinformation

I think you’re missing the indent starting here. I think it’s just formatting; try running it through an online YAML parser like http://www.yamllint.com/

It’s valid YAML. Home Assistant starts up, and my entire configuration says it’s valid YAML, but there is something here that isn’t working. I’m wondering if you just can’t nest the ‘AND’ ‘OR’ conditions.

Edit: It appears that’s not where the automation is messed up. I commented the whole thing, but the error persists. The error doesn’t give me a line to check, so I’ll have to figure out where it is first.

1 Like