-
Notifications
You must be signed in to change notification settings - Fork 15
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
Memberof trigger #66
Memberof trigger #66
Conversation
@querdenker2k I've added an example of how to write trigger tests in #73 - WDYT? I'd love to get more tests in JRule as it is quite annoying to detect bugs only when my home automations quietly breaks after merging the latest code. This PR is quite big so I expect something to break just by the sheer size of it. |
And by the way - great work! I've been waiting for this feature - it is the last missing nail in the DSL rule coffin for my setup :) |
yes, thats really anoying. i created my docker test project for this to test JRule with the real environment as a "blockbox". Maybe we could integrate this kind of testing as well. |
I'm getting some failed tests when merging with main. |
|
@querdenker2k could you rebase and look at the tests? |
Yes will do it tomorrow |
# Conflicts: # src/main/java/org/openhab/automation/jrule/internal/engine/JRuleEngine.java
Merging. |
Created a memberOf option for item event triggers.
Discussed here: #22
When setting memberOf=true on a group-item the rule will fire for all direct group member events.