Transform (map) with ranges

In OH3, I try to define a transform using a map file containing ranges link in the following:

In the log file, I get the following message:
“Could not transform ‘230.00’ with the file ‘’ : Target value not found in map for ‘230.00’”
What is wrong ?

MAP transform just doesn’t work like that, it’s a simple look-up for an exact match.

If you want numeric ranges, see SCALE transform.

which is a separate add-on

Thanks for the hint. I configure it as explain and it is working fine.

1 Like