3.0 KiB
layout | title |
---|---|
documentation | Actions |
{% include base.html %}
Actions
Actions are predefined methods for openHAB rules and scripts. They are automatically imported and can be used to execute openHAB-specific operations or to send commands or data to hardware or services.
|
Some openHAB 1 actions have not yet completed validation for inclusion in the distribution; however, they may indeed work properly under openHAB 2. All openHAB 1 addons can be downloaded in a zip file. We need your help testing them so that they may be easily installed in a future distribution. Please see the compatibility layer documentation and also search the openHAB community forum for the latest information and steps for manual installation. |
{% assign actions = "" | split: "|" %} {% for action in site.data.actions %}{% assign actions = actions | push: action %}{% endfor %} {% assign sorted_actions = actions | sort: "id" %} {% assign oh1addons = site.data.oh1addons %} {% assign legacyaddons = site.data.legacyaddons %}
{% for action in sorted_actions %} {% assign install = "auto" %} {% if action.source == "oh1" %} {% assign install = "manual" %} {% for oh1addon in oh1addons %} {% if oh1addon.category == "action" and oh1addon.id contains action.id %} {% assign install = "auto" %} {% break %} {% endif %} {% endfor %} {% for legacyaddon in legacyaddons %} {% if legacyaddon.category == "binding" and legacyaddon.id contains action.id %} {% assign install = "legacy" %} {% break %} {% endif %} {% endfor %} {% endif %} {% endfor %}Name | Description |
---|---|
{{ action.label }} |
{{ action.description | markdownify }} |