this post was submitted on 10 Sep 2023
9 points (100.0% liked)

Home Automation

2932 readers
1 users here now

Discussion about general home automation ideas and projects, home automation protocols like Z-wave, Zigbee, Matter, etc, and home automation software and hubs like HomeSeer, Home Assistant, OpenHAB, Homey.

founded 1 year ago
MODERATORS
 

I'm working in the template editor, and if I use the 'and' operator, an entity disappears. I finally found/guessed a working combination but I can't find any examples to see the right combo of operators and parenthesis. HA tells you to look at jinja docs, jinja literally says "There is not an awful lot to talk about here"

any template guru out there know the secret sauce?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

I'll play around with that too, but I just figured out i can make the entities appear and disappear if I change 'false' to 'off'. I wish their forum wasn't a "read our shitty docs" auto-reply.

[โ€“] [email protected] 1 points 1 year ago

oh wait, maybe changing it to false instead of off halts the processing. I think you're right.