examples/api-tester/thermostat-api.js
Function work
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
work: function(my) {
my.thermostat.on("status", function() {
console.log("========================Thermostat=======================");
console.log("id:",
my.thermostat.deviceId);