reconnect and version up

This commit is contained in:
Marcus Westin 2020-01-20 12:28:02 +00:00
parent 667beaa11f
commit ce84a296ab
3 changed files with 11 additions and 9 deletions

View file

@ -109,7 +109,6 @@ class PlejdService extends EventEmitter {
}
this.objectManager.on('InterfacesAdded', this.onInterfacesAdded.bind(this));
this.objectManager.on('InterfacesRemoved', this.onInterfacesRemoved.bind(this));
this.adapter.SetDiscoveryFilter({
'UUIDs': new dbus.Variant('as', [PLEJD_SERVICE]),
@ -200,10 +199,6 @@ class PlejdService extends EventEmitter {
}
}
async onInterfacesRemoved(path, interfaces) {
const [adapter, dev, service, characteristic] = path.split('/').slice(3);
}
updateSettings(settings) {
if (settings.debug) {
debug = 'console';