Skip to content

Commit 2e2fb53

Browse files
authored
Update README.md
Signed-off-by: lsiepel <leosiepel@gmail.com>
1 parent e5da984 commit 2e2fb53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ See [openhab-js](https://openhab.github.io/openhab-js) for a complete list of fu
141141
Note that `event` object is only available when:
142142

143143
1. the UI based rule was triggered by an event and is not manually run! Trying to access `event` on a manual run does not work (and will lead to an error), use `this.event` instead (will be `undefined` in case of manual run).
144-
2. the rule is inline script or called by an inline script which passes it the `event object`. "Item Actions", "Scene, Rules, & Scripts", and "Audio and Voice" actions are not passed the `event` object.
144+
1. the rule is inline script or called by an inline script which passes it the `event object`. "Item Actions", "Scene, Rules, & Scripts", and "Audio and Voice" actions are not passed the `event` object.
145145

146146
When you use "Item event" as trigger (i.e. "[item] received a command", "[item] was updated", "[item] changed"), there is additional context available for the action in a variable called `event`.
147147
When a rule is triggered, there is additional context available for the action in a variable called `event`.

0 commit comments

Comments
 (0)