graphing
This commit is contained in:
parent
1fb44cb937
commit
b2e7dd919d
@ -54,7 +54,9 @@ busEmitter.on('changeState', function(mode) {
|
|||||||
logger.info('Changing state..');
|
logger.info('Changing state..');
|
||||||
|
|
||||||
if (wemoClient !== null) {
|
if (wemoClient !== null) {
|
||||||
wemoClient.setBinaryState(0);
|
wemoClient.setBinaryState(mode);
|
||||||
|
} else {
|
||||||
|
console.error('No wemoClient');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user