mirror of
https://github.com/lehanspb/tuya-mqtt.git
synced 2025-12-16 17:54:36 +00:00
Update rgbtw-light.js
This commit is contained in:
@@ -11,7 +11,7 @@ class RGBTWLight extends TuyaDevice {
|
|||||||
this.config.whiteValueScale = this.config.whiteValueScale ? this.config.whiteValueScale : 1000
|
this.config.whiteValueScale = this.config.whiteValueScale ? this.config.whiteValueScale : 1000
|
||||||
this.config.dpsColorTemp = this.config.dpsColorTemp ? this.config.dpsColorTemp : 4
|
this.config.dpsColorTemp = this.config.dpsColorTemp ? this.config.dpsColorTemp : 4
|
||||||
this.config.dpsColor = this.config.dpsColor ? this.config.dpsColor : 5
|
this.config.dpsColor = this.config.dpsColor ? this.config.dpsColor : 5
|
||||||
this.config.colorType = this.config.colorType ? this.config.colorType : 'hsb'
|
this.config.colorType = this.config.colorType ? this.config.colorType : 'hsbhex'
|
||||||
|
|
||||||
this.deviceData.mdl = 'RGBTW Light'
|
this.deviceData.mdl = 'RGBTW Light'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user