some changes to global mode

This commit is contained in:
Martin Donnelly 2017-02-28 23:39:57 +00:00
parent 647c69d9b0
commit 47269c3633

View File

@ -56,8 +56,8 @@ busEmitter.on('changeState', function(mode) {
if (wemoClient !== null) {
wemoClient.setBinaryState(mode);
let newState = wemoClient.getBinaryState();
busEmitter.emit('updateState', newState);
// let newState = wemoClient.getBinaryState();
// busEmitter.emit('updateState', newState);
} else {
console.error('No wemoClient');
}