From e4ac710d83e7ab358c7c9f9d8c364fbfd2461ca9 Mon Sep 17 00:00:00 2001 From: Flavio De Stefano Date: Thu, 1 Aug 2024 13:35:19 +0200 Subject: [PATCH] Upgrade engines --- .github/workflows/build.yml | 2 +- package.json | 2 +- src/tapoCamera.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5dbe12..bf0465d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: # the Node.js versions to build on - node-version: [18.20.x, 20.16.x, 22.5.x] + node-version: [20.16.x, 22.5.x] steps: - uses: actions/checkout@v2 diff --git a/package.json b/package.json index 0da7641..2286742 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/kopiro/homebridge-tapo-camera/issues" }, "engines": { - "node": "^18.20.4 || ^20.16.0 || ^22.5.1", + "node": "^20.16.0 || ^22.5.1", "homebridge": "^1.8.0 || ^2.0.0-beta.0" }, "repository": { diff --git a/src/tapoCamera.ts b/src/tapoCamera.ts index d4fb0d6..174406f 100644 --- a/src/tapoCamera.ts +++ b/src/tapoCamera.ts @@ -675,7 +675,7 @@ export class TAPOCamera extends OnvifCamera { if (!lensMask) this.log.warn("No lens mask config found"); if (!notifications) this.log.warn("No notifications config found"); if (!motionDetection) this.log.warn("No motion detection config found"); - if (!led) this.log.warn("No led status found"); + if (!led) this.log.warn("No led config found"); return { alarm: alert?.result.msg_alarm.chn1_msg_alarm_info.enabled === "on",