Is it possible to use a expression variable as a action. I mean this in the following way:
I have a variable $action which is changed by a rule into: “on” or "off"
Is there any way to provide another rule like this:
If predicate then turn switch1 $action ?