Skip to content

Commit

Permalink
Update platform.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Nov 3, 2023
1 parent 70de162 commit 8e84111
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ export class AugustPlatform implements DynamicPlatformPlugin {
if (!this.config.credentials.password) {
throw 'Missing August Password';
}
if (!this.config.credentials.countryCode) {
this.config.credentials!.countryCode = 'US';
}
}
}

Expand Down

0 comments on commit 8e84111

Please sign in to comment.