diff --git a/package.json b/package.json index 73f5bff..63f1162 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scrypted-dyson", - "version": "0.2.2", + "version": "0.3.0", "description": "Scrypted plugin for Dyson", "author": "nberardi", "license": "MIT", diff --git a/src/DysonPlugin.ts b/src/DysonPlugin.ts index 0ba4b99..be71d86 100644 --- a/src/DysonPlugin.ts +++ b/src/DysonPlugin.ts @@ -220,10 +220,7 @@ export class DysonPlugin extends ScryptedDeviceBase implements DeviceDiscovery, } async discoverDevices(duration?: number): Promise { - let currentDevices = deviceManager.getNativeIds(); - //if (currentDevices?.length > 0) - // return; if (!this.storageSettings.values.countryCode || !this.storageSettings.values.email || !this.storageSettings.values.password) { this.log.a('Enter your Country Code, Email and Password to discover your Dyson Fans.'); return;