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] Allow Item lookup by name directly on the `items` namespace #233

Closed digitaldan closed 1 year ago

digitaldan commented 1 year ago

Fixes #232

Signed-off-by: Dan Cunningham dan@digitaldan.com

digitaldan commented 1 year ago

Hmm, i need to update the docs as well, i do that shortly

digitaldan commented 1 year ago

Ok, was not sure the best way to document in JSDoc, this was the best i could come up with.

digitaldan commented 1 year ago

Thanks!