You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the examples use the @JRuleWhenItemChange but mention that a JRuleOnOffValue type should be passed as arguments to the 'to' and 'from' parameters:
Many of the examples use the @JRuleWhenItemChange but mention that a JRuleOnOffValue type should be passed as arguments to the 'to' and 'from' parameters:
`import static org.openhab.automation.jrule.rules.JRuleOnOffValue.ON;
import static org.openhab.automation.jrule.rules.JRuleOnOffValue.OFF;
...
@JRuleWhenItemChange(item = MyTestSwitch2, from = OFF, to = ON)`
Yet, the variables are of type String
The compiler finds and reports the error:
The text was updated successfully, but these errors were encountered: