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
parent
8d676f2645
commit
b61a81a7ab
|
@ -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` |
|
||||
:::
|
||||
|
||||
|
|
Loading…
Reference in New Issue