From e550bc0c1c252cbb879d15f2b05cf1d50ac44124 Mon Sep 17 00:00:00 2001 From: dathbe Date: Sat, 16 Jan 2021 00:55:38 -0800 Subject: [PATCH] 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 Co-authored-by: Jerome Luckenbach --- configuration/rules-dsl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/rules-dsl.md b/configuration/rules-dsl.md index f0307843d..e81846f37 100644 --- a/configuration/rules-dsl.md +++ b/configuration/rules-dsl.md @@ -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.