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

[items] Add `numericState` & `quantityState` to `Item` & `HistoricItem` #234

Closed florian-h05 closed 1 year ago

florian-h05 commented 1 year ago

Fixes #231.

This adds two new properties to the Item class:

The JS HistoricItem is extended with the quantityState as well.

@digitaldan Please don't merge, type def and CHANGELOG updates are missing.

florian-h05 commented 1 year ago

@digitaldan This is ready for merging now. I will leave the merging to you so you can answer to my answer above.