node-switchbot 1.6.0-beta.7 → 1.6.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -391,7 +391,7 @@ class SwitchbotAdvertising {
|
|
|
391
391
|
let red = byte3;
|
|
392
392
|
let green = byte4;
|
|
393
393
|
let blue = byte5;
|
|
394
|
-
let
|
|
394
|
+
let color_temperature = byte6;
|
|
395
395
|
let state = byte7 & 0b01111111 ? true : false;
|
|
396
396
|
let brightness = byte7 & 0b01111111;
|
|
397
397
|
let delay = byte8 & 0b10000000;
|
|
@@ -403,7 +403,7 @@ class SwitchbotAdvertising {
|
|
|
403
403
|
let data = {
|
|
404
404
|
model: "u",
|
|
405
405
|
modelName: "WoBulb",
|
|
406
|
-
|
|
406
|
+
color_temperature: color_temperature,
|
|
407
407
|
state: state,
|
|
408
408
|
red: red,
|
|
409
409
|
green: green,
|
package/package.json
CHANGED