Entsoe Binding

I just noticed that on my test PC I’m still running OH5.0.1 and the profile for Day-ahead prices is using ECMAscript (see screen capture below).

So, I’m using following transformation

| parseFloat(input)*100*1.255+0.45

where 1.255 includes our VAT and 0.45 is the energy provider’s commission. I don’t quite understand why ECMAscript profile is missing in OH5.2

It’s not quite clear to me in what units the spot prices are in the Entsoe binding v5.2.0. In the OH5.1 version the unit was EUR/kWh.

As I’m not expert with ECMA (Java) scripting I’m wondering how to use the transformation I used in OH5.1.3.

EDIT:

I have managed to sort out my problem. Reason was that Javascript scripting addon was not installed properly (see discussion in openHAB 5.2 Release discussion - #204 by jlikonen) after I upgraded from 5.1.3 to 5.2.0. I reinstalled OH5.2.0 and now the Entsoe binding is working OK.