Skip to content

[rules] Add eventName property to event object#465

Merged
florian-h05 merged 3 commits intoopenhab:mainfrom
florian-h05:rules-eventdata
Aug 29, 2025
Merged

[rules] Add eventName property to event object#465
florian-h05 merged 3 commits intoopenhab:mainfrom
florian-h05:rules-eventdata

Conversation

@florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Aug 27, 2025

This exposes the simple class name of the event, e.g. ItemCommandEvent, under the new eventName property of the event object.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>
@florian-h05 florian-h05 changed the title [rules] Expose _getTriggeredData [rules] Add eventName property to event object Aug 29, 2025
@florian-h05 florian-h05 added the enhancement New feature or request label Aug 29, 2025
@florian-h05 florian-h05 added this to the to be released milestone Aug 29, 2025
@florian-h05 florian-h05 marked this pull request as ready for review August 29, 2025 08:22
@florian-h05 florian-h05 requested a review from a team as a code owner August 29, 2025 08:22
@florian-h05 florian-h05 merged commit 358abf8 into openhab:main Aug 29, 2025
5 checks passed
@florian-h05 florian-h05 deleted the rules-eventdata branch August 29, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant