Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Dec 23, 2023
1 parent b4445ab commit 805acd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export class NoIPPlatform implements DynamicPlatformPlugin {
config!: NoIPPlatformConfig;

constructor(log: Logging, config: NoIPPlatformConfig, api: API) {

this.logs();
this.debugLog(`Finished initializing platform: ${config.name}`);
this.accessories = [];
this.api = api;
this.log = log;
Expand All @@ -40,8 +41,6 @@ export class NoIPPlatform implements DynamicPlatformPlugin {
refreshRate: config.refreshRate as number,
logging: config.logging as string,
};
this.logs();
this.debugLog(`Finished initializing platform: ${config.name}`);

// verify the config
try {
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const PLUGIN_NAME = 'homebridge-noip';
export interface NoIPPlatformConfig extends PlatformConfig {
devices?: Array<DevicesConfig>;
refreshRate?: number;
logging: string;
logging?: string;
}

export type DevicesConfig = {
Expand Down

0 comments on commit 805acd3

Please sign in to comment.