Many of the examples (e.g., the 1st one) import JRuleOnOffValue using the following instruction:
import static org.openhab.automation.jrule.rules.JRuleOnOffValue.ON;
or
import static org.openhab.automation.jrule.rules.JRuleOnOffValue.OFF;
However, JRuleOnOffValue is located within ...rules.value
The correct import instruction is
import static org.openhab.automation.jrule.rules.value.JRuleOnOffValue.ON; import static org.openhab.automation.jrule.rules.value.JRuleOnOffValue.OFF;
Many of the examples (e.g., the 1st one) import JRuleOnOffValue using the following instruction:
import static org.openhab.automation.jrule.rules.JRuleOnOffValue.ON;
orimport static org.openhab.automation.jrule.rules.JRuleOnOffValue.OFF;
However, JRuleOnOffValue is located within ...rules.value The correct import instruction is
import static org.openhab.automation.jrule.rules.value.JRuleOnOffValue.ON; import static org.openhab.automation.jrule.rules.value.JRuleOnOffValue.OFF;