Skip to content

Commit

Permalink
Upgrade engines
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro committed Aug 1, 2024
1 parent c66522e commit e4ac710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/tapoCamera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e4ac710

Please sign in to comment.