openhab-docs/_addons_transformations/map
Kai Kreuzer f1727cae7b
updated generated content
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-10-18 17:08:32 +02:00
..
readme.md updated generated content 2017-10-18 17:08:32 +02:00

readme.md

id label title type description since install
map Map Map - Transformation Services transform Transforms the input by mapping it to another string. It expects the mappings to be read from a file which is stored under the `transform` folder. 2x auto

{% include base.html %}

Map Transformation Service

Transforms the input by mapping it to another string. It expects the mappings to be read from a file which is stored under the transform folder.

This file should be in property syntax, i.e. simple lines with "key=value" pairs. The file format is documented here. To organize the various transformations one might use subfolders.

Example

transform/binary.map:

key=value
1=ON
0=OFF
ON=1
OFF=0
input output
1 ON
OFF 0
key value