Skip to content

Add JRuby examples in rules_advanced.md #2451

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jan 18, 2025

No description provided.

Copy link

netlify bot commented Jan 18, 2025

Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).

Built without sensitive environment variables

Name Link
🔨 Latest commit 98324ea
🔍 Latest deploy log https://app.netlify.com/sites/openhab-docs-preview/deploys/67fb07f081816100085ec1b2
😎 Deploy Preview https://deploy-preview-2451--openhab-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jimtng jimtng force-pushed the rules-advanced-ruby branch 2 times, most recently from 19d2da0 to 5129079 Compare January 18, 2025 07:17
@jimtng
Copy link
Contributor Author

jimtng commented Feb 16, 2025

Oops I missed those three remaining comments/change requests. Changes have now been made to address them.

@jimtng jimtng requested a review from ccutrer March 20, 2025 13:01
@jimtng
Copy link
Contributor Author

jimtng commented Apr 11, 2025

ping @ccutrer

logger.info "Motion was detected"
FrontPorchLight.on

after 30.minutes, id: FrontPorchLight do |timer|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not entirely obvious from the narrative above that if this rule is executed multiple times, because the timer has an id, it will find that timer and reschedule it, rather than starting a new timer that happens to have the same ID.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added additional sentences which could use some further review

jimtng added 5 commits April 13, 2025 10:39
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@jimtng jimtng force-pushed the rules-advanced-ruby branch from b634cfa to 98324ea Compare April 13, 2025 00:40
@jimtng jimtng requested a review from ccutrer April 13, 2025 00:43
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

Successfully merging this pull request may close these issues.

2 participants