Homey Community Forum

Better logic expression


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


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.


I made this flow For Everybody is going to sleep