UndefinedError: 'sensor' is undefined

Hello.

I’m getting lots of this error:

Error during template condition: UndefinedError: 'sensor' is undefined
9:07 PM helpers/condition.py (ERROR) - message first occured at 8:54 PM and shows up 2630 times

The configuration passes with flying colors and all the automations work.

Could the debug be more detailed? How to do so?

Thanks.

Did you solve this?
I’m getting the same…

Yes, but I can’t recall the issue.

It was probably bad yaml indentation.

post your condition template. You’re referencing a variable that does not exist.