I tried to create a rule which contains multiple conditions in the if… part.
rule "React on Sunset Event"
when
Channel "astro:sun:local:set#event" triggered START
then
if(VPresence == OFF && Switch1 == OFF){
sendCommand(Lampe1, ON)
}
end
Seems that this does not work always as expected. Is it posible to combine two conditions in this way? VS Code dos not complain on syntax errors…