From e6fc355ddf3501d923cf9cf45825fb60dd817a2f Mon Sep 17 00:00:00 2001 From: stefan-hoehn Date: Thu, 5 Sep 2024 21:53:25 +0200 Subject: [PATCH] fix ol (#2361) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Höhn --- configuration/transformations.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configuration/transformations.md b/configuration/transformations.md index 3d1dc92e84..6fe499415d 100644 --- a/configuration/transformations.md +++ b/configuration/transformations.md @@ -40,8 +40,7 @@ Transformation files need to be placed in the directory `$OPENHAB_CONF/transform ``` Usage of Transformations in the [label parameter of Sitemap elements]({{base}}/ui/sitemaps.html#element-type-text) works the same way. - -2. Rules +1. Rules Transformations can also be [used in rules]({{base}}/configuration/rules-dsl.html#transformations) to transform/translate/convert data. The following shows three examples: @@ -52,12 +51,12 @@ Transformation files need to be placed in the directory `$OPENHAB_CONF/transform var fahrenheit = transform("JS", "convert-C-to-F.js", temperature) ``` -3. Bindings +1. Bindings Transformations can sometimes be used in binding add-ons. For example, transforming an openHAB ON command into "action=powerup" for sending to a device. If, and how, this use may be available is described in individual binding documentation. -4. Profiles +1. Profiles Transformations can be associated with channels, working on data being passed between bindings and Items. See [profile documentation]({{base}}/configuration/items.html#profiles) for more detail.