mirror of
https://github.com/lehanspb/tuya-mqtt.git
synced 2025-12-16 17:54:36 +00:00
removed unnecessary comments
This commit is contained in:
@@ -203,42 +203,3 @@ TuyaColorLight.prototype.getDps = function () {
|
||||
}
|
||||
|
||||
module.exports = TuyaColorLight;
|
||||
//module.exports.color.setColor('#ff2600');
|
||||
//module.exports.color.setColor('#ffffff');
|
||||
|
||||
// let tuya = new TuyaDevice({
|
||||
// id: '05200399bcddc2e02ec9',
|
||||
// key: 'b58cf92e8bc5c899',
|
||||
// ip: '192.168.178.49'
|
||||
// });
|
||||
|
||||
// tuya.get().then(status => {
|
||||
// console.log('Status:', status);
|
||||
// var promisses = [];
|
||||
// promisses.push(
|
||||
// tuya.set({
|
||||
// dps: 2,
|
||||
// set: "colour"
|
||||
// })
|
||||
// );
|
||||
// promisses.push(
|
||||
// tuya.set({
|
||||
// dps: 3,
|
||||
// set: 0
|
||||
// })
|
||||
// );
|
||||
// promisses.push(
|
||||
// tuya.set({
|
||||
// dps: 4,
|
||||
// set: 255
|
||||
// })
|
||||
// );
|
||||
// Promise.all(promisses).then(result => {
|
||||
// console.log('Result of setting status to ' + !status + ': ' + result);
|
||||
|
||||
// tuya.get().then(status => {
|
||||
// console.log('New status:', status);
|
||||
// return;
|
||||
// });
|
||||
// });
|
||||
// });
|
||||
Reference in New Issue
Block a user