Hello Guys.
How does the Eval function work? I'm a bit confused after reading around and reading: https://github.com/mknx/smarthome/wiki/Eval-Syntax
If i want to evaluate on two sensors, both of them must be OFF to set another bool to ON - normally in logics that would be:
if sensor_a == False and sensor_b == False: Light(True) else: Light(false).....
But this doesn't work in the eval - what should the syntax be here? I know i shouldn't have the sh. before the items used...
How does the Eval function work? I'm a bit confused after reading around and reading: https://github.com/mknx/smarthome/wiki/Eval-Syntax
If i want to evaluate on two sensors, both of them must be OFF to set another bool to ON - normally in logics that would be:
if sensor_a == False and sensor_b == False: Light(True) else: Light(false).....
But this doesn't work in the eval - what should the syntax be here? I know i shouldn't have the sh. before the items used...
Kommentar