In first line of script put load(OPENHAB_CONF + '/automation/lib/javascript/core/actions.js');
When the actions.js is loaded it gives several errors: One of the errors is using LogAction that has been renamed to Log. But if this is corrected other errors appear.
Installing Javascript to current OH 3.0 daily build doesn't work correctly.
Steps to reproduce the behavior:
load(OPENHAB_CONF + '/automation/lib/javascript/core/actions.js');
LogAction
that has been renamed toLog
. But if this is corrected other errors appear.