Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
## [2.2.2](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.2.2) (2024-06-22)

### What's Changes
- Housekeeping and updated dependencies.

**Full Changelog**: v2.2.1...v2.2.2
  • Loading branch information
donavanbecker committed Jun 23, 2024
1 parent 391539c commit 0b03dea
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 21 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [2.2.2](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.2.2) (2024-06-22)

### What's Changes
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/donavanbecker/homebridge-august/compare/v2.2.1...v2.2.2

## [2.2.1](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.2.1) (2024-06-22)

### What's Changes
Expand Down
2 changes: 0 additions & 2 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,6 @@
"key": "options.devices[].pushRate",
"description": "<em class='primary-text'>Specifies the interval, in seconds, between pushes to the August API for this specific device.</em>"
},
"options.devices[].refreshRate",
"options.devices[].pushRate",
"options.devices[].external",
"options.devices[].logging"
]
Expand Down
38 changes: 22 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "August",
"name": "homebridge-august",
"version": "2.2.1",
"version": "2.2.2",
"description": "The August plugin allows you to access your August & Yale device(s) from HomeKit.",
"author": {
"name": "donavanbecker",
Expand Down
3 changes: 1 addition & 2 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export class AugustPlatform implements DynamicPlatformPlugin {
*/
verifyConfig() {
this.config.options = this.config.options || {};

const platformConfig = {};
if (this.config.options.logging) {
platformConfig['logging'] = this.config.options.logging;
Expand All @@ -134,7 +133,7 @@ export class AugustPlatform implements DynamicPlatformPlugin {

if (!this.config.options.refreshRate) {
// default 1800 seconds (30 minutes)
this.config.options!.refreshRate! = 1800;
this.config.options.refreshRate = 1800;
this.debugWarnLog('Using Default Refresh Rate (5 minutes).');
} else if (this.config.options.refreshRate < 1800) {
this.config.options.refreshRate = 1800;
Expand Down

0 comments on commit 0b03dea

Please sign in to comment.