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
dathbe 2021-01-16 00:55:38 -08:00 committed by GitHub
parent 1d4a5d8137
commit e550bc0c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.