@switchbot/homebridge-switchbot 1.12.5 → 1.12.6-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,7 @@ jobs:
39
39
 
40
40
  steps:
41
41
  - name: Checkout repository
42
- uses: actions/checkout@v2
42
+ uses: actions/checkout@v3
43
43
 
44
44
  # Initializes the CodeQL tools for scanning.
45
45
  - name: Initialize CodeQL
@@ -13,6 +13,6 @@ jobs:
13
13
  runs-on: ubuntu-latest
14
14
 
15
15
  steps:
16
- - uses: actions/labeler@v3
16
+ - uses: actions/labeler@v4
17
17
  with:
18
18
  repo-token: '${{ secrets.GITHUB_TOKEN }}'
@@ -12,8 +12,8 @@ jobs:
12
12
  build:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v2
16
- - uses: actions/setup-node@v2
15
+ - uses: actions/checkout@v3
16
+ - uses: actions/setup-node@v3
17
17
  with:
18
18
  node-version: 14
19
19
  - name: npm install, build and test
@@ -32,8 +32,8 @@ jobs:
32
32
  runs-on: ubuntu-latest
33
33
 
34
34
  steps:
35
- - uses: actions/checkout@v2
36
- - uses: actions/setup-node@v2
35
+ - uses: actions/checkout@v3
36
+ - uses: actions/setup-node@v3
37
37
  with:
38
38
  node-version: 14
39
39
  registry-url: https://registry.npmjs.org/
@@ -11,15 +11,15 @@ jobs:
11
11
  build:
12
12
  strategy:
13
13
  matrix:
14
- node-version: [12, 14, 16]
14
+ node-version: [14.x, 16.x]
15
15
  os: [ubuntu-latest]
16
16
 
17
17
  runs-on: ${{ matrix.os }}
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v3
21
21
  - name: Use Node.js ${{ matrix.node-version }}
22
- uses: actions/setup-node@v2
22
+ uses: actions/setup-node@v3
23
23
  with:
24
24
  node-version: ${{ matrix.node-version }}
25
25
  - name: npm install, build and test
@@ -39,8 +39,8 @@ jobs:
39
39
  runs-on: ubuntu-latest
40
40
 
41
41
  steps:
42
- - uses: actions/checkout@v2
43
- - uses: actions/setup-node@v2
42
+ - uses: actions/checkout@v3
43
+ - uses: actions/setup-node@v3
44
44
  with:
45
45
  node-version: 14 # use the minimum required version
46
46
  registry-url: https://registry.npmjs.org/
@@ -12,7 +12,7 @@ jobs:
12
12
  env:
13
13
  ACTIONS_STEP_DEBUG: true
14
14
  steps:
15
- - uses: actions/stale@v4
15
+ - uses: actions/stale@v5
16
16
  with:
17
17
  repo-token: ${{ secrets.GITHUB_TOKEN }}
18
18
  stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
4
4
 
5
+ ## [Beta - Version 1.12.6](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.6) (2022-02-XX)
6
+
7
+ ## What's Changed
8
+
9
+ - Housekeeping and updated dependencies.
10
+
11
+ **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.5...v1.12.6
12
+
5
13
  ## [Version 1.12.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.5) (2022-02-15)
6
14
 
7
15
  ## What's Changed
@@ -174,7 +174,7 @@
174
174
  "title": "Enable Bluetooth Low Energy (BLE) Connection",
175
175
  "type": "boolean",
176
176
  "condition": {
177
- "functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Bot'));"
177
+ "functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Humidifier' || model.options.devices[arrayIndices].configDeviceType === 'Meter' || model.options.devices[arrayIndices].configDeviceType === 'Curtain' || model.options.devices[arrayIndices].configDeviceType === 'Bot' || model.options.devices[arrayIndices].configDeviceType === 'Motion Sensor' || model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor'));"
178
178
  }
179
179
  },
180
180
  "scanDuration": {
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "displayName": "Homebridge SwitchBot",
3
- "name": "@switchbot/homebridge-switchbot",
4
- "version": "1.12.5",
5
- "description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
6
- "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
7
- "license": "ISC",
8
- "repository": {
9
- "type": "git",
10
- "url": "git://github.com/OpenWonderLabs/homebridge-switchbot.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/OpenWonderLabs/homebridge-switchbot/issues"
14
- },
15
- "engines": {
16
- "homebridge": "^1.4.0",
17
- "node": "^14.19.0 || ^16.14.0"
18
- },
19
- "main": "dist/index.js",
20
- "scripts": {
21
- "check": "npm install && npm outdated",
22
- "update": "ncu -u && npm update && npm install",
23
- "lint": "eslint src/**.ts",
24
- "watch": "npm run build && npm link && nodemon",
25
- "build": "rimraf ./dist && tsc",
26
- "prepublishOnly": "npm run lint && npm run build",
27
- "postpublish": "npm run clean",
28
- "clean": "rimraf ./dist",
29
- "test": "eslint src/**.ts"
30
- },
31
- "funding": [
32
- {
33
- "type": "Paypal",
34
- "url": "https://paypal.me/donavanbecker"
2
+ "displayName": "Homebridge SwitchBot",
3
+ "name": "@switchbot/homebridge-switchbot",
4
+ "version": "1.12.6-beta.2",
5
+ "description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
6
+ "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
7
+ "license": "ISC",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git://github.com/OpenWonderLabs/homebridge-switchbot.git"
35
11
  },
36
- {
37
- "type": "GitHub",
38
- "url": "https://github.com/sponsors/donavanbecker"
12
+ "bugs": {
13
+ "url": "https://github.com/OpenWonderLabs/homebridge-switchbot/issues"
14
+ },
15
+ "engines": {
16
+ "homebridge": "^1.4.0",
17
+ "node": "^14.19.0 || ^16.14.0"
18
+ },
19
+ "main": "dist/index.js",
20
+ "scripts": {
21
+ "check": "npm install && npm outdated",
22
+ "update": "ncu -u && npm update && npm install",
23
+ "lint": "eslint src/**.ts",
24
+ "watch": "npm run build && npm link && nodemon",
25
+ "build": "rimraf ./dist && tsc",
26
+ "prepublishOnly": "npm run lint && npm run build",
27
+ "postpublish": "npm run clean",
28
+ "clean": "rimraf ./dist",
29
+ "test": "eslint src/**.ts"
30
+ },
31
+ "funding": [
32
+ {
33
+ "type": "Paypal",
34
+ "url": "https://paypal.me/donavanbecker"
35
+ },
36
+ {
37
+ "type": "GitHub",
38
+ "url": "https://github.com/sponsors/donavanbecker"
39
+ }
40
+ ],
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "keywords": [
45
+ "homebridge-plugin",
46
+ "switchbot",
47
+ "humidifier",
48
+ "humidity",
49
+ "temperature",
50
+ "bot",
51
+ "curtains",
52
+ "windows",
53
+ "ble",
54
+ "ir"
55
+ ],
56
+ "dependencies": {
57
+ "@homebridge/plugin-ui-utils": "^0.0.19",
58
+ "axios": "^0.26.0",
59
+ "rxjs": "^7.5.4"
60
+ },
61
+ "devDependencies": {
62
+ "@types/node": "^17.0.21",
63
+ "@typescript-eslint/eslint-plugin": "^5.13.0",
64
+ "@typescript-eslint/parser": "^5.13.0",
65
+ "eslint": "^8.10.0",
66
+ "eslint-config-prettier": "8.4.0",
67
+ "eslint-plugin-prettier": "4.0.0",
68
+ "homebridge": "^1.4.0",
69
+ "nodemon": "^2.0.15",
70
+ "npm-check-updates": "^12.5.0",
71
+ "prettier": "2.5.1",
72
+ "rimraf": "^3.0.2",
73
+ "ts-node": "^10.6.0",
74
+ "typescript": "^4.6.2",
75
+ "typescript-axios-wb": "^1.0.3"
76
+ },
77
+ "optionalDependencies": {
78
+ "node-switchbot": "^1.1.3-beta.7"
39
79
  }
40
- ],
41
- "publishConfig": {
42
- "access": "public"
43
- },
44
- "keywords": [
45
- "homebridge-plugin",
46
- "switchbot",
47
- "humidifier",
48
- "humidity",
49
- "temperature",
50
- "bot",
51
- "curtains",
52
- "windows",
53
- "ble",
54
- "ir"
55
- ],
56
- "dependencies": {
57
- "@homebridge/plugin-ui-utils": "^0.0.19",
58
- "axios": "^0.26.0",
59
- "rxjs": "^7.5.4"
60
- },
61
- "devDependencies": {
62
- "@types/node": "^17.0.18",
63
- "@typescript-eslint/eslint-plugin": "^5.12.0",
64
- "@typescript-eslint/parser": "^5.12.0",
65
- "eslint": "^8.9.0",
66
- "eslint-config-prettier": "8.3.0",
67
- "eslint-plugin-prettier": "4.0.0",
68
- "homebridge": "^1.4.0",
69
- "nodemon": "^2.0.15",
70
- "npm-check-updates": "^12.3.0",
71
- "prettier": "2.5.1",
72
- "rimraf": "^3.0.2",
73
- "ts-node": "^10.5.0",
74
- "typescript": "^4.5.5",
75
- "typescript-axios-wb": "^1.0.3"
76
- },
77
- "optionalDependencies": {
78
- "node-switchbot": "^1.1.2"
79
- }
80
80
  }