Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nelsonaponte opened this issue Jan 26, 2024 · 0 comments
Open

Comments

@nelsonaponte
Copy link

nelsonaponte commented Jan 26, 2024

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant