Homey Community Forum

Better logic expression

flow
app
#1

Hallo,
I want to make an expresion with Better logic card Math.js. I don’t get it working. Is it possible? An example of my expression is:
(Not(AanwezigPiet) or SlaapPiet) and (Not(Aanwezignne) or SlaapAnne)

Regards Ton

#2

U can do this in the flows with the logic card in the AND section.
Like AND Piet is not at home OR piet is sleeping.

#3

I made this flow For Everybody is going to sleep