Update rules-dsl.md (#1456)
* Update rules-dsl.md Corrected the "system started" section to reflect that the trigger will no longer execute on loading the rules file in OH v.3. * Adapt inline codeblock design. Signed-off-by: Jerome Luckenbach <github@luckenba.ch> Co-authored-by: Jerome Luckenbach <github@luckenba.ch>pull/1458/head
parent
1d4a5d8137
commit
e550bc0c1c
|
@ -202,11 +202,11 @@ You may use [CronMaker](https://www.cronmaker.com/) or the generator at [FreeFor
|
|||
|
||||
### System-based Triggers
|
||||
|
||||
Two system-based triggers are provided as described in the table below:
|
||||
One system-based trigger is provided as described in the table below:
|
||||
|
||||
| Trigger | Description |
|
||||
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| System started | System started is triggered upon openHAB startup, after the rule file containing the System started trigger is modified, or after item(s) are modified in a .items file. |
|
||||
| System started | `System started` is triggered upon openHAB startup. In openHAB version 2, `System started` is also triggered after the rule file containing the System started trigger is modified, or after item(s) are modified in a .items file. |
|
||||
|
||||
You may wish to use the 'System started' trigger to initialize values at startup if they are not already set.
|
||||
|
||||
|
|
Loading…
Reference in New Issue