Mathematical operations on item.rawState using Javascript keeping UoM

FYI: We are currently working on providing UoM handling for JavaScript, see GitHub - openhab/openhab-js: openHAB JavaScript Library for JavaScript Scripting Automation. The work on the Quantity API is finished now, but has to be fully released.

3 Likes