Merge branch 'dev' into master

This commit is contained in:
tsightler
2020-09-17 20:41:12 -04:00
committed by GitHub
4 changed files with 607 additions and 406 deletions

View File

@@ -208,6 +208,12 @@ var TuyaDevice = (function () {
});
}
TuyaDevice.prototype.schema = function(obj){
return this.get(obj).then((status) => {
debug("get", obj);
});
}
TuyaDevice.prototype.setColor = function (hexColor) {
if (!this.connected) return;
debugColor("Set color to: ", hexColor);