Skip to content

Improvements to UI event object docs#444

Merged
florian-h05 merged 3 commits intoopenhab:mainfrom
rkoshak:patch-7
Jul 21, 2025
Merged

Improvements to UI event object docs#444
florian-h05 merged 3 commits intoopenhab:mainfrom
rkoshak:patch-7

Conversation

@rkoshak
Copy link
Contributor

@rkoshak rkoshak commented Jul 18, 2025

[docs] Improvements to UI event object documentation

Description

Changed the wording to make it clear the event Object is only undefined when a rule is called from another rule.

Added rows to the table to capture event.event and event.payload.

Closes #316 .

rkoshak added 2 commits July 18, 2025 10:32
Added rows for `event.event` and `event.payload` to the table. 

Reworded some of the warnings because manual triggers still have `event`. It's only when a rule calls another rule that the called rule doesn't have `event`.

Solves issue openhab#316.


Signed-off-by: Richard Koshak <rkoshak@users.noreply.github.com>
noticed a typo and decided to change some wording.
@rkoshak rkoshak requested a review from a team as a code owner July 18, 2025 16:41
@rkoshak
Copy link
Contributor Author

rkoshak commented Jul 18, 2025

I tried to follow the instructions to rebase that commit that is missing the signoff. I failed. The first commit has the signoff and the second one is really minor.

If I need to I'll close this PR and submit another one but I'm hoping this qualifies for the minimal changes exception.

Copy link
Contributor

@florian-h05 florian-h05 left a comment

Choose a reason for hiding this comment

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

One minor typo.
Don't worry because of DCO.

@florian-h05 florian-h05 added the documentation Improvements or additions to documentation label Jul 18, 2025
Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Richard Koshak <rkoshak@users.noreply.github.com>
@florian-h05 florian-h05 merged commit 0f712ff into openhab:main Jul 21, 2025
3 checks passed
@rkoshak rkoshak deleted the patch-7 branch July 21, 2025 21:51
@florian-h05 florian-h05 added this to the to be released milestone Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[jsscripting] Documentation of event object manually run from GUI is wrong

2 participants