iobroker.device-watcher 2.9.1 → 2.9.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.
package/main.js CHANGED
@@ -1604,10 +1604,12 @@ class DeviceWatcher extends utils.Adapter {
1604
1604
  }
1605
1605
  break;
1606
1606
  default:
1607
- if (deviceUpdateSelector) {
1608
- isUpgradable = true;
1609
- } else if (!deviceUpdateSelector) {
1610
- isUpgradable = false;
1607
+ if (deviceUpdateSelector !== null && typeof deviceUpdateSelector === 'boolean') {
1608
+ if (deviceUpdateSelector) {
1609
+ isUpgradable = true;
1610
+ } else if (!deviceUpdateSelector) {
1611
+ isUpgradable = false;
1612
+ }
1611
1613
  }
1612
1614
  }
1613
1615
 
@@ -3265,7 +3267,7 @@ class DeviceWatcher extends utils.Adapter {
3265
3267
 
3266
3268
  for (const id of this.listErrorInstanceRaw) {
3267
3269
  if (this.blacklistInstancesNotify.includes(id)) continue;
3268
- list = `${list}\n${id}: ${id.Status}`;
3270
+ list = `${list}\n${id.Instance}: ${id.Status}`;
3269
3271
  }
3270
3272
  if (list.length === 0) return;
3271
3273
  message = `Tägliche Meldung über fehlerhafte Instanzen: ${list}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.device-watcher",
3
- "version": "2.9.1",
3
+ "version": "2.9.2",
4
4
  "description": "Watchdog for devices",
5
5
  "author": {
6
6
  "name": "Christian Behrends",
@@ -31,10 +31,10 @@
31
31
  "@alcalzone/release-script-plugin-manual-review": "^3.5.9",
32
32
  "@iobroker/adapter-dev": "^1.2.0",
33
33
  "@iobroker/testing": "^4.1.0",
34
- "@types/chai": "^4.3.4",
34
+ "@types/chai": "^4.3.5",
35
35
  "@types/chai-as-promised": "^7.1.5",
36
36
  "@types/mocha": "^10.0.1",
37
- "@types/node": "^18.15.11",
37
+ "@types/node": "^18.16.3",
38
38
  "@types/node-schedule": "^2.1.0",
39
39
  "@types/proxyquire": "^1.3.28",
40
40
  "@types/sinon": "^10.0.13",
@@ -42,16 +42,16 @@
42
42
  "chai": "^4.3.7",
43
43
  "chai-as-promised": "^7.1.1",
44
44
  "cron-parser": "^4.8.1",
45
- "eslint": "^8.37.0",
45
+ "eslint": "^8.39.0",
46
46
  "eslint-config-prettier": "^8.8.0",
47
47
  "eslint-plugin-prettier": "^4.2.1",
48
48
  "mocha": "^10.2.0",
49
49
  "node-schedule": "^2.1.1",
50
- "prettier": "^2.8.7",
50
+ "prettier": "^2.8.8",
51
51
  "proxyquire": "^2.1.3",
52
- "sinon": "^15.0.3",
52
+ "sinon": "^15.0.4",
53
53
  "sinon-chai": "^3.7.0",
54
- "typescript": "~5.0.3"
54
+ "typescript": "~5.0.4"
55
55
  },
56
56
  "main": "main.js",
57
57
  "files": [