openhab / openhab-js

openHAB JavaScript Library for JavaScript Scripting Automation
https://www.openhab.org/addons/automation/jsscripting/
Eclipse Public License 2.0
38 stars 31 forks source link

[Quantity] Minor improvements & Make `quantityState` `null` when unit is missing #263

Closed florian-h05 closed 1 year ago

florian-h05 commented 1 year ago
stefan-hoehn commented 1 year ago

Supports https://github.com/openhab/openhab-webui/pull/1864

Tested:

Both work as expected