openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 68 forks source link

Javascript doesn't works with current OH 3.0 daily build #354

Open lujop opened 3 years ago

lujop commented 3 years ago

Installing Javascript to current OH 3.0 daily build doesn't work correctly.

Steps to reproduce the behavior:

  1. Install following Installation instructions
  2. Create a rule that runs a Javascript script
  3. In first line of script put load(OPENHAB_CONF + '/automation/lib/javascript/core/actions.js');
  4. 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.