You simply need to let UoM do the work for you by defining your item as Number:EnergyPrice
and setting the unit
to SEK/kWh
. See Using the new Currency Units of Measurement in 4.1
Example:
Number:EnergyPrice SpotPrice { channel="entsoe:day-ahead:02b0905d44:spot-price", unit="SEK/kWh" }
or with VAT included:
Number:EnergyPrice SpotPrice { channel="entsoe:day-ahead:02b0905d44:spot-price", unit="SEK/kWh" [profile="transform:VAT"] }