RGBTW light fixes

This commit is contained in:
tsightler
2020-10-03 13:32:48 -04:00
parent 9176b8f85c
commit df01beb8fc
3 changed files with 49 additions and 39 deletions

View File

@@ -11,7 +11,6 @@ class GenericDevice extends TuyaDevice {
// Map generic DPS topics to device specific topic names
this.deviceTopics = this.config.template
} else {
this.deviceTopics = {}
// Try to get schema to at least know what DPS keys to get initial update
const result = await this.device.get({"schema": true})
if (!utils.isJsonString(result)) {