seaside1 / jrule

openHAB Java Rules Engine
Eclipse Public License 2.0
29 stars 15 forks source link

Problem in the examples related to the import of JRuleOnOffValue #190

Open nelsonaponte opened 10 months ago

nelsonaponte commented 10 months ago

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;