Skip to content

Commit

Permalink
fixup! Add support for TPLinkSmartPlug plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
xunleii committed Dec 21, 2020
1 parent 9dd5f3a commit eccc8e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/config/config.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const defaultConfig: Config = {
enabled: false,
turnOnPSUWhenExitingSleep: false,
},
tplinkSmartPlug: {
tpLinkSmartPlug: {
enabled: false,
smartPlugIP: '127.0.0.1',
},
Expand Down
4 changes: 2 additions & 2 deletions src/app/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ export class ConfigService {
}

public useTpLinkSmartPlug(): boolean {
return this.config.plugins.tplinkSmartPlug.enabled;
return this.config.plugins.tpLinkSmartPlug.enabled;
}

public getSmartPlugIP(): string {
return this.config.plugins.tplinkSmartPlug.smartPlugIP;
return this.config.plugins.tpLinkSmartPlug.smartPlugIP;
}
public getFilamentThickness(): number {
return this.config.filament.thickness;
Expand Down

0 comments on commit eccc8e9

Please sign in to comment.