Skip to content

Commit

Permalink
bumped package and cleaned up some left over code
Browse files Browse the repository at this point in the history
  • Loading branch information
nberardi committed Jan 24, 2023
1 parent 3622a66 commit 4238f58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scrypted-dyson",
"version": "0.2.2",
"version": "0.3.0",
"description": "Scrypted plugin for Dyson",
"author": "nberardi",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions src/DysonPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,7 @@ export class DysonPlugin extends ScryptedDeviceBase implements DeviceDiscovery,
}

async discoverDevices(duration?: number): Promise<void> {
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;
Expand Down

0 comments on commit 4238f58

Please sign in to comment.