The following rule is working for me
“when it is 30 minutes before sunset then switch on 💡 LED Lampe Flur and switch on 💡 Weihnachtsbeleuchtung außen”
Now i like to change the rule and replace “30” by a variable which can be changed by a VariableInputDevice.
The variable name is “$var_light_corridor_on_delay” and set to “30”
But i receive
Oops…
Expected one of: “and”, “or”, “]”.
for this rule
when it is $var_light_corridor_on_delay minutes before sunset then switch on 💡 LED Lampe Flur and switch on 💡 Weihnachtsbeleuchtung außen"
Is there a way to archive what i want?