You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/rules.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,13 @@ Available types of conditions include:
208
208
The script condition is the most universal one, as you can choose one of the many available script/rule languages to build any condition you can think of.
209
209
The only restriction is a script condition's last executed line of code must result in a boolean (i.e. `true` or `false`).
210
210
211
-
## Scripts
211
+
## Actions
212
+
213
+
Once a rule has triggered, and all conditions have been met, the rule will execute one or more actions.
214
+
These are what makes the rule actually _do something_.
215
+
OpenHAB has a set of [standard actions with specific definitions](./standard-actions.md).
216
+
217
+
### Scripts
212
218
213
219
Unfortunately the term "Script" is overloaded in openHAB, and has multiple meanings based on the context:
214
220
@@ -224,7 +230,7 @@ Unfortunately the term "Script" is overloaded in openHAB, and has multiple meani
224
230
225
231
These rule docs mainly refer to the first two meanings when talking about scripts.
226
232
227
-
## Script Actions
233
+
###Script Actions
228
234
229
235
Script Actions are an action that allow you to run logic written in one of the available automation/rule languages, e.g. JavaScript, Rules DSL, Blockly.
0 commit comments