diff --git a/helpers.js b/helpers.js index feec93b..f610936 100644 --- a/helpers.js +++ b/helpers.js @@ -1,4 +1,5 @@ const { actions, time, utils } = require('openhab'); +const VERSION = require('./package.json').version; /** * Utility function to create a named timer. diff --git a/package.json b/package.json index 575e971..94d4c8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openhab_rules_tools", - "version": "2.0.0", + "version": "2.0.1", "description": "Functions and classes to make writing openHAB rules in JS Scripting easier.", "private": false, "license": "EPL-2.0",