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

Support offset in DateTimeTrigger #4271

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jun 7, 2024

Resolve #4195

This should be merged before #4272 (Rules DSL support)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@jimtng jimtng requested a review from a team as a code owner June 7, 2024 01:26
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/subtracting-2-hours-from-datetime-item/156582/11

@rkoshak
Copy link

rkoshak commented Jun 7, 2024

Don't forget to open an issue/PR on MainUI to add support to the UI.

I'm excited to see this new feature. Thanks!

@florian-h05
Copy link
Contributor

Don't forget to open an issue/PR on MainUI to add support to the UI.

IIRC Main UI is using the config description provided through REST, so no need to update it.

@holgerfriedrich holgerfriedrich added rebuild Triggers the Jenkins PR build and removed rebuild Triggers the Jenkins PR build labels Sep 8, 2024
Copy link
Member

@holgerfriedrich holgerfriedrich left a comment

Choose a reason for hiding this comment

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

LGMT, thank you!

@holgerfriedrich holgerfriedrich merged commit 69dc832 into openhab:main Sep 8, 2024
5 checks passed
@jimtng jimtng deleted the datetimetrigger-offset branch September 8, 2024 06:21
@holgerfriedrich holgerfriedrich added the enhancement An enhancement or new feature of the Core label Sep 8, 2024
@holgerfriedrich holgerfriedrich added this to the 4.3 milestone Sep 8, 2024
@jimtng
Copy link
Contributor Author

jimtng commented Sep 8, 2024

@holgerfriedrich thanks for reviewing and merging. Would you mind starting a core + distro build please? Waiting for it in order to run tests for openhab/openhab-jruby#278

@holgerfriedrich
Copy link
Member

@jimtng I don't think I have permission to do this. Let's ask @kaikreuzer, @wborn, @J-N-K to trigger a core build....

@wborn
Copy link
Member

wborn commented Sep 8, 2024

I have triggered a Core build!

@jimtng
Copy link
Contributor Author

jimtng commented Sep 8, 2024

Thanks, @wborn! Will it automatically trigger a distro build upon a successful core build?

@wborn
Copy link
Member

wborn commented Sep 8, 2024

No but I also just clicked that button. 🚀

@jimtng
Copy link
Contributor Author

jimtng commented Sep 8, 2024

Thanks!

florian-h05 added a commit to florian-h05/openhab-js that referenced this pull request Sep 16, 2024
Refs openhab/openhab-core#4271.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
florian-h05 added a commit to florian-h05/openhab-js that referenced this pull request Sep 16, 2024
Refs openhab/openhab-core#4271.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
florian-h05 added a commit to openhab/openhab-js that referenced this pull request Sep 16, 2024
Closes #378.
Refs openhab/openhab-core#4271.

Whilst this changes the signature of the DateTimeTrigger, a special
handling for the old signature is implemented to keep backward
compatibility.

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow offset for "at the time specified in an item's state" trigger
7 participants