This commit is contained in:
Martin Donnelly 2017-01-07 22:55:29 +00:00
parent 1fb44cb937
commit b2e7dd919d

View File

@ -54,7 +54,9 @@ busEmitter.on('changeState', function(mode) {
logger.info('Changing state..');
if (wemoClient !== null) {
wemoClient.setBinaryState(0);
wemoClient.setBinaryState(mode);
} else {
console.error('No wemoClient');
}
});