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

[actions] Fix `get()`, `thingActions` & dynamic export of found actions #165

Closed florian-h05 closed 1 year ago

florian-h05 commented 1 year ago

Fixes #164. Caused by #148.

Fixes

Test

I’ve verified that get(), thingActions() and the dynamic exports are working now.

@basvanh Can you please test this fix? Just run npm install git+https://github.com/florian-h05/openhab-js.git#fix-actions-get inside the $OPENHAB_CONF/automation/js folder.

florian-h05 commented 1 year ago

@digitaldan The creator of the issue also verified that it’s working, so I’ll merge.