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

[triggers] Support `Item` as parameter & Add arg type checks #194

Closed florian-h05 closed 1 year ago

florian-h05 commented 1 year ago

Fixes #176.

Description

Testing

All changes to triggers.js are automatically tested by our unit tests.

florian-h05 commented 1 year ago

@sfriedle Can you please review? Especially my changes to the unit tests please.

florian-h05 commented 1 year ago

Since the feature freeze is active now, this can not be merged before the release of 3.4.0 stable — only bug fixes are allowed from now on.