From 4238f58a6d7edd1adfc2ceaf38980b2c77222636 Mon Sep 17 00:00:00 2001 From: Nick Berardi Date: Mon, 23 Jan 2023 23:34:32 -0500 Subject: [PATCH] bumped package and cleaned up some left over code --- package.json | 2 +- src/DysonPlugin.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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;