some changes to global mode
This commit is contained in:
parent
656c1920f1
commit
647c69d9b0
@ -44,7 +44,7 @@ wemo.discover(function(deviceInfo) {
|
|||||||
// Handle BinaryState events
|
// Handle BinaryState events
|
||||||
wemoClient.on('binaryState', function(value) {
|
wemoClient.on('binaryState', function(value) {
|
||||||
logger.debug('Binary State changed to: %s', value);
|
logger.debug('Binary State changed to: %s', value);
|
||||||
mqttClient.updateGlobal(value);
|
// mqttClient.updateGlobal(value);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Turn the switch on
|
// Turn the switch on
|
||||||
|
Loading…
Reference in New Issue
Block a user