From 0b03dea85a5dc3b9d18e087ebed5b3c097b94782 Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Sat, 22 Jun 2024 23:48:27 -0500 Subject: [PATCH] v2.2.2 ## [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 --- CHANGELOG.md | 7 +++++++ config.schema.json | 2 -- package-lock.json | 38 ++++++++++++++++++++++---------------- package.json | 2 +- src/platform.ts | 3 +-- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e6eaf0..2b584e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/config.schema.json b/config.schema.json index a9c0413..110d816 100644 --- a/config.schema.json +++ b/config.schema.json @@ -456,8 +456,6 @@ "key": "options.devices[].pushRate", "description": "Specifies the interval, in seconds, between pushes to the August API for this specific device." }, - "options.devices[].refreshRate", - "options.devices[].pushRate", "options.devices[].external", "options.devices[].logging" ] diff --git a/package-lock.json b/package-lock.json index d6258b4..4f2cae9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2598,9 +2598,9 @@ } }, "node_modules/@fastify/ajv-compiler": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-3.5.0.tgz", - "integrity": "sha512-ebbEtlI7dxXF5ziNdr05mOY8NnDiPB1XvAlLHctRt/Rc+C3LCOVW5imUVX+mhvUhnNzmPBHewUkOFgGlCxgdAA==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-3.6.0.tgz", + "integrity": "sha512-LwdXQJjmMD+GwLOkP7TVC68qa+pSSogeWWmznRJ/coyTcfe9qA05AHFSe1eZFwK6q+xVRpChnvFUkf1iYaSZsQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4426,9 +4426,9 @@ } }, "node_modules/@rnx-kit/chromium-edge-launcher/node_modules/@types/node": { - "version": "18.19.37", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.37.tgz", - "integrity": "sha512-Pi53fdVMk7Ig5IfAMltQQMgtY7xLzHaEous8IQasYsdQbYK3v90FkxI3XYQCe/Qme58pqp14lXJIsFmGP8VoZQ==", + "version": "18.19.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.39.tgz", + "integrity": "sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==", "license": "MIT", "peer": true, "dependencies": { @@ -7689,9 +7689,9 @@ "peer": true }, "node_modules/electron-to-chromium": { - "version": "1.4.807", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.807.tgz", - "integrity": "sha512-kSmJl2ZwhNf/bcIuCH/imtNOKlpkLDn2jqT5FJ+/0CXjhnFaOa9cOe9gHKKy71eM49izwuQjZhKk+lWQ1JxB7A==", + "version": "1.4.810", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.810.tgz", + "integrity": "sha512-Kaxhu4T7SJGpRQx99tq216gCq2nMxJo+uuT6uzz9l8TVN2stL7M06MIIXAtr9jsrLs2Glflgf2vMQRepxawOdQ==", "license": "ISC", "peer": true }, @@ -9975,12 +9975,15 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -13211,11 +13214,14 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true, "license": "MIT", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } diff --git a/package.json b/package.json index 276ea2b..180947e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/platform.ts b/src/platform.ts index b6a8804..9af30f4 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -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; @@ -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;