Closed benbeton closed 8 years ago
Seems like you are mixing up the expression syntax for "variable comparison" and "attribute of a device" predicates. For your case the following should work: if "$milightzone0.power" is "true"
then ...
Note, for some reason "on" does not work as it should. For this reason I have been using "true" which works as expected.
Hi,
I'm trying to turn off zone 1 - 4 when Zone 0 (all lights) is turned off. So I created a rule: "if state of milightzone0.power is off then turn off milightzone1 and turn off..."
but this can't be saved, seems that the if condition did not work, any idea how to achieve this?