Comparing two entities, Template always returns False?

I have read the templating wiki and the Jinja page too… not fiding anything that tells me why is always returning False, even with the entities are not the same value. I’ve tried with and without quotes, I’ve also tried using <>

thank you for the help!

“{{ states(‘input_select.house_mode’) != states(‘input_select.house_mode_selector’) }}”

Can you use the developer tools and try one template for each entity then this statement so that we can see them

yup, looks ok in the tools, but not working in the automation, Trace always shows it as False

You must have worked some sort of magic! … the automation is working now even though I made no changes since posting the issue… and I tested multiple times looking at the trace each time. No clue what’s going on but for the moment, its working. I’ll report back if it stops working.

thx for the quick reply!

Is this question regarding the condition tester tool in the visual editors? Because, that doesn’t work with template conditions. The conditions will work when the automation runs, the tester just has an issue with template conditions.