updated to the new control base

This commit is contained in:
Jan Scheiper 2020-08-14 23:21:25 +02:00
parent a1264913ec
commit 90de3dd25d
2 changed files with 6 additions and 2 deletions

View File

@ -71,6 +71,10 @@ class HCTasmota extends HCColorLamp {
this._effect = null; this._effect = null;
} }
static get version() {
return require("./package.json").version;
}
// overwrite to make use of the SUManager // overwrite to make use of the SUManager
get state() { get state() {
return this._sumanager.state.clone(); return this._sumanager.state.clone();

4
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "hc-tasmota", "name": "hc-tasmota",
"version": "1.0.0", "version": "1.1.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -29,7 +29,7 @@
} }
}, },
"homecontrol-control-base": { "homecontrol-control-base": {
"version": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git#b2bf9ba767050ec1581dd3641885fe1132ac45aa", "version": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git#304c97bdcf84b71168567046560d7777f09dceed",
"from": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git", "from": "git+https://git.literalchaos.de/jan/homecontrol-control-base.git",
"requires": { "requires": {
"merge-options": "^1.0.1", "merge-options": "^1.0.1",