Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/getting_started/rules_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Click the green + icon under "But only if" labeled "Add Condition".
![rule condition dialog](images/rule-condition-dialog.png)

Choose Item Condition because we want to check the state of an Item and select the Item.
Note, sometimes if the Item not part of the model it can be hard to find.
Note, sometimes if the Item is not part of the model it can be hard to find.
If that happens to you, select any Item to start and then you can get a flat list of all your Items on the next screen.

In this case we want to check if the `vCloudiness` Item is >= to 50 %.
Expand Down
4 changes: 1 addition & 3 deletions tutorials/getting_started/rules_blockly.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ What should one do if the simple "when-then-but only if" rules are not enough?
This is where the Script Actions and Script Conditions come into play.
Both of these are a way for you to write code that can be as long and complex as it needs to be to achieve your goals.

As you recall from the previous page, one of the four types of conditions are Script Conditions and one of the four types of actions are Script Actions.
As you recall from the previous page, one type of condition is Script Condition and one type of action is Inline Script.
Choosing either of those presents you with a choice of language to use.
By default there are only three choices: Blockly, ECMAScript, and Rules DSL.
If you've installed other automation add-ons, those might be listed as well.

This tutorial is not going to be a full tutorial on how to write code in Blockly.
See the [**Blockly Reference**]({{base}}/configuration/blockly/index.html) for a detailed tutorial and reference for doing that.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/getting_started/rules_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ There is a growing list of options of ways for users to create rules and many of
This tutorial will not discuss file based rules.
See the docs for the chosen language for details on how to write rules in files for that language.

openHAB comes with three languages by default (Rules DSL, ECMAScript 5.1, and Blockly) and has a number of [automation add-ons](/addons/#automation) to add more.
For this tutorial we will be using [Blockly](/docs/configuration/blockly/) and the [JavaScript Scripting](/addons/automation/jsscripting/) add-on.
openHAB comes by default with one language for automation (Rules DSL) and has a number of [automation add-ons](/addons/#automation) to add more.
For this tutorial we will be using [Blockly](/docs/configuration/blockly/), which requires [installing](docs/configuration/addons.html) the [JavaScript Scripting](/addons/automation/jsscripting/) add-on.
But most of the concepts presented can be applied to the other languages too.

## What's the Difference Between a Rule, Script, a Scene and Schedule?
Expand Down