Add Group, Thing and System triggers to JSR223 docs (#1819)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>

Co-authored-by: Jerome Luckenbach <github@luckenba.ch>
pull/1820/head
jimtng 2022-05-16 02:46:51 +10:00 committed by GitHub
parent 8d676f2645
commit b61a81a7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 44 additions and 0 deletions

View File

@ -358,6 +358,43 @@ Read the JSR223 language specific documentation for examples of using these `Tri
| `state` | The `State` (optional) |
:::
::: details core.GroupCommandTrigger
| Parameter | Description |
| ----------- | --------------------------- |
| `groupName` | The name of the `GroupItem` |
| `command` | The `Command` (optional) |
:::
::: details core.GroupStateUpdateTrigger
| Parameter | Description |
| ----------- | --------------------------- |
| `groupName` | The name of the `GroupItem` |
| `state` | The `State` (optional) |
:::
::: details core.GroupStateChangeTrigger
| Parameter | Description |
| --------------- | ------------------------------- |
| `groupName` | The name of the `GroupItem` |
| `previousState` | The previous `State` (optional) |
| `state` | The `State` (optional) |
:::
::: details core.ThingStatusUpdateTrigger
| Parameter | Description |
| ---------- | ---------------------------- |
| `thingUID` | The `thingUID` |
| `status` | The `ThingStatus` (optional) |
:::
::: details core.ThingStatusChangeTrigger
| Parameter | Description |
| ---------------- | ------------------------------------- |
| `thingUID` | The `thingUID` |
| `previousStatus` | The previous `ThingStatus` (optional) |
| `status` | The `ThingStatus` (optional) |
:::
::: details core.ChannelEventTrigger
| Parameter | Description |
| ------------ | ---------------------------------------- |
@ -372,3 +409,10 @@ Read the JSR223 language specific documentation for examples of using these `Tri
| `eventSource` | `Item` name, `ChannelUID`, `ThingUID`, etc. |
| `eventTypes` | `ItemCommandEvent`, `ItemStateEvent`, `ItemStateChangedEvent`, `GroupItemStateChangedEvent`, `ItemAddedEvent`, `ItemRemovedEvent`, `ThingAddedEvent`, `ThingRemovedEvent`, `ThingStatusInfoChangedEvent`, `ThingStatusInfoEvent`, `ThingUpdatedEvent`, etc. |
:::
::: details core.SystemStartlevelTrigger
| Parameter | Description |
| ------------ | ----------------------- |
| `startlevel` | The system `StartLevel` |
:::