thing-it-device-wtec
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -140,5 +140,5 @@ module.exports = { | ||
if (this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
if (!this.state.currentScene || this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
else if (this.state.brightness !== state.brightness) return this.location.setBrightness(state.brightness); | ||
}; | ||
} |
@@ -187,3 +187,3 @@ module.exports = { | ||
if (this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
if (!this.state.currentScene || this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
else if (this.state.brightness !== state.brightness) return this.location.setBrightness(state.brightness); | ||
@@ -190,0 +190,0 @@ }; |
@@ -97,5 +97,5 @@ module.exports = { | ||
if (this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
if (!this.state.currentScene || this.state.currentScene.id !== state.currentScene.id) return this.location.setScene(state.currentScene.name); | ||
else if (this.state.brightness !== state.brightness) return this.location.setBrightness(state.brightness); | ||
}; | ||
} |
{ | ||
"name": "thing-it-device-wtec", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Thing-IT device wtec", | ||
"main": "smartengine.js", | ||
"scripts": { | ||
"postversion": "git push && git push --tags && npm publish", | ||
"test": "mocha" | ||
@@ -26,2 +27,2 @@ }, | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
463275
25