abstract-things
abstract-things copied to clipboard
Fix for caching colortemp range
See https://github.com/aholstenson/miio/issues/222
==add Bedside Lamp support== miio/lib/models.js //in module.exports add one line 'yeelink.light.bslamp1': YeelightColor,
==fix color temperature setting== abstract-things/lights/color-temperature.js //line 54~55 -- if(! isDeepEqual(this[colorTemperatureRange], range)) { -- this[colorTemperatureRange] = range; ++ if(! isDeepEqual(this.colorTemperatureRange, range)) { ++ this.colorTemperatureRange = range;
Then your can use this code: light.color('5020K') without error