From 5c614646b563fc3a16bc073553563b3be1e6b31e Mon Sep 17 00:00:00 2001 From: Jan Scheiper Date: Sun, 16 Feb 2020 21:01:21 +0100 Subject: [PATCH] fixed error on node 8 --- HCTasmota.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HCTasmota.js b/HCTasmota.js index ad28dcd..2496279 100644 --- a/HCTasmota.js +++ b/HCTasmota.js @@ -5,6 +5,7 @@ const { } = require('homecontrol-control-base'); const axios = require('axios'); +const { URL } = require('url'); class HCTasmota extends HCColorLamp { constructor(config) { diff --git a/package.json b/package.json index 518b39a..86b043f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hc-tasmota", - "version": "1.0.0", + "version": "1.0.1", "description": "A plugin to support the communication with Tasmota devices via http", "main": "HCTasmota.js", "scripts": {