node-switchbot 1.4.2-beta.4 → 1.4.2-beta.5
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.
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
const SwitchbotDevice = require("./switchbot-device.js");
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/
|
|
5
|
+
* @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/colorbulb.md
|
|
6
6
|
*/
|
|
7
|
-
class
|
|
7
|
+
class SwitchbotDeviceWoColorBulb extends SwitchbotDevice {
|
|
8
8
|
/**
|
|
9
9
|
* @returns {Promise<boolean>} resolves with a boolean that tells whether the plug in ON(true) or OFF(false)
|
|
10
10
|
*/
|
|
@@ -78,4 +78,4 @@ class SwitchbotDeviceWoPlugMini extends SwitchbotDevice {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
module.exports =
|
|
81
|
+
module.exports = SwitchbotDeviceWoColorBulb;
|
package/package.json
CHANGED