This page is part of archived documentation for openHAB 3.1. Go to the current stable version

# Jinja Transformation Service

Transforms a value using a jinja template.

The main purpose of this transformer is the use in the home assistant discovery. Therfore not all features of the home assistant templating are supported. Basically on Processing incoming data (opens new window)

# Available variables

Variable Description
value The incoming value.
value_json The incoming value parsed as JSON.

# Examples

# Basic Example

Given the value


the template


extracts the string 4.7.

# Further Reading