iobroker.botvac 2.0.0 → 2.0.2-alpha.0

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/README.md CHANGED
@@ -33,6 +33,13 @@
33
33
  Placeholder for the next version (at the beginning of the line):
34
34
  ### **WORK IN PROGRESS**
35
35
  -->
36
+ ### 2.0.2-alpha.0 (2023-12-23) [#29]
37
+ - (ar7bd) SpotWidth and spotHeight are now allowed to be zero.
38
+ - (mcm1957) Dependencies have been updated.
39
+
40
+ ### 2.0.1 (2023-09-20)
41
+ - (PeterVoronov) A problem causing crashes if some devices are unreachable has been fixed [#46]
42
+
36
43
  ### 2.0.0 (2023-09-18)
37
44
  - (mcm1957) Migration to iobroker-community-adapters has been finalized.
38
45
 
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "botvac",
4
- "version": "2.0.0",
4
+ "version": "2.0.2-alpha.0",
5
5
  "news": {
6
+ "2.0.2-alpha.0": {
7
+ "en": "SpotWidth and spotHeight are now allowed to be zero.\nDependencies have been updated.",
8
+ "de": "SpotWidth und SpotHeight darf nun Null sein.\nAbhängigkeiten wurden aktualisiert.",
9
+ "ru": "SpotWidth и место Высота теперь разрешена быть нулевым.\nОбновлены зависимости.",
10
+ "pt": "SpotWidth e spot A altura agora pode ser zero.\nAs dependências foram atualizadas.",
11
+ "nl": "SpotWidth De lengte is nu toegestaan om nul te zijn.\nAfhankelijkheid is geüpdateerd.",
12
+ "fr": "SpotWidth et spot La hauteur est maintenant permise à zéro.\nLes dépendances ont été mises à jour.",
13
+ "it": "SpotWidth e spot Ora l'altezza è zero.\nLe dipendenze sono state aggiornate.",
14
+ "es": "SpotWidth y spot Se permite que la altura sea cero.\nSe han actualizado las dependencias.",
15
+ "pl": "SpotWidth i miejsce Teraz dozwolone jest zera.\nW zależności zostały zaktualizowane.",
16
+ "uk": "SpotWidth і плями Висота тепер дозволено бути нуль.\nОновлено залежність.",
17
+ "zh-cn": "SpotWidth和点 现在有人允许他零。.\n情况已经更新。."
18
+ },
19
+ "2.0.1": {
20
+ "en": "A problem causing crashes if some devices are unreachable has been fixed [#46]",
21
+ "de": "Ein Problem, das Abstürze verursachte wenn Geräte nicht erreichbar sind, wurde behoben [#46]",
22
+ "ru": "Проблема, вызывающая сбои, если некоторые устройства недоступны, была исправлена #[46]",
23
+ "pt": "Um problema causando falhas se alguns dispositivos são inacessíveis foi corrigido #[46]",
24
+ "nl": "Een probleem veroorzaakt crashes als sommige apparaten onbereikbaar zijn, is gerepareerd",
25
+ "fr": "Un problème causant des accidents si certains appareils sont inaccessibles a été corrigé #[46]",
26
+ "it": "Un problema che causa crash se alcuni dispositivi sono irraggiungibili è stato fissato #[46]",
27
+ "es": "Un problema que causa fallos si algunos dispositivos son inalcanzables ha sido fijado #[46]",
28
+ "pl": "Problem zderzenia się, jeśli niektóre urządzenia nie są w stanie naprawić #46",
29
+ "uk": "Проблема, що викликає аварійні ситуації, якщо деякі пристрої ненадійні були виправлені #[46]",
30
+ "zh-cn": "如果某些装置无法控制,造成事故的问题是固定的[46]"
31
+ },
6
32
  "2.0.0": {
7
33
  "en": "Migration to iobroker-community-adapters has been finalized.",
8
34
  "de": "Die Migration zu iobroker-community-adapters wurde abgeschlossen.",
@@ -45,17 +71,17 @@
45
71
  },
46
72
  "title": "Neato Botvac",
47
73
  "titleLang": {
48
- "en": "Neato Botvac\n\n",
49
- "de": "Neato Botvac\n\n",
50
- "ru": "Неато Botvac\n\n",
51
- "pt": "Neato Botvac\n\n",
52
- "nl": "Neato Botvac\n\n",
53
- "fr": "Neato Botvac\n\n",
54
- "it": "Neato Botvac\n\n",
55
- "es": "Neato Botvac\n\n",
56
- "pl": "Neato Botvac\n\n",
57
- "uk": "Неато Ботва\n\n",
58
- "zh-cn": "Neato Botvac\n\n"
74
+ "en": "Neato Botvac",
75
+ "de": "Neato Botvac",
76
+ "ru": "Неато Botvac",
77
+ "pt": "Neato Botvac",
78
+ "nl": "Neato Botvac",
79
+ "fr": "Neato Botvac",
80
+ "it": "Neato Botvac",
81
+ "es": "Neato Botvac",
82
+ "pl": "Neato Botvac",
83
+ "uk": "Неато Ботва",
84
+ "zh-cn": "Neato Botvac"
59
85
  },
60
86
  "desc": {
61
87
  "en": "ioBroker neato botvac Adapter\n",
package/main.js CHANGED
@@ -464,7 +464,8 @@ function main() {
464
464
 
465
465
  function update() {
466
466
  for (var i = 0; i < allRobotNames.length; i++) {
467
- updateRobot(allRobots[allRobotNames[i]]);
467
+ //additional check, if delete nonexits robots is disabled in createRobotsObjects
468
+ if (allRobots.hasOwnProperty(allRobotNames[i]) && allRobots[allRobotNames[i]]) updateRobot(allRobots[allRobotNames[i]]);
468
469
  }
469
470
  }
470
471
 
@@ -638,7 +639,7 @@ function prepareRobotsStructure(robots, devices, callback) {
638
639
  read: true,
639
640
  write: true,
640
641
  def: 100,
641
- min: 100,
642
+ min: 0,
642
643
  unit: 'cm',
643
644
  role: 'level.width'
644
645
  }
@@ -649,7 +650,7 @@ function prepareRobotsStructure(robots, devices, callback) {
649
650
  read: true,
650
651
  write: true,
651
652
  def: 100,
652
- min: 100,
653
+ min: 0,
653
654
  unit: 'cm',
654
655
  role: 'level.height'
655
656
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.botvac",
3
- "version": "2.0.0",
3
+ "version": "2.0.2-alpha.0",
4
4
  "description": "ioBroker botvac Adapter",
5
5
  "author": {
6
6
  "name": "Pmant",
@@ -32,34 +32,34 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "node-botvac": "PeterVoronov/node-botvac#0.4.2-schedule-write",
35
- "@iobroker/adapter-core": "^3.0.3"
35
+ "@iobroker/adapter-core": "^3.0.4"
36
36
  },
37
37
  "devDependencies": {
38
- "@alcalzone/release-script": "^3.6.0",
39
- "@alcalzone/release-script-plugin-iobroker": "^3.6.0",
40
- "@alcalzone/release-script-plugin-license": "^3.5.9",
41
- "@alcalzone/release-script-plugin-manual-review": "^3.5.9",
38
+ "@alcalzone/release-script": "^3.7.0",
39
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.0",
40
+ "@alcalzone/release-script-plugin-license": "^3.7.0",
41
+ "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
42
42
  "@iobroker/adapter-dev": "^1.2.0",
43
43
  "@iobroker/testing": "^4.1.0",
44
44
  "@tsconfig/node14": "^14.1.0",
45
- "@types/chai": "^4.3.5",
46
- "@types/chai-as-promised": "^7.1.5",
47
- "@types/mocha": "^10.0.1",
48
- "@types/node": "^20.6.2",
49
- "@types/proxyquire": "^1.3.28",
50
- "@types/sinon": "^10.0.15",
51
- "@types/sinon-chai": "^3.2.9",
52
- "chai": "^4.3.7",
45
+ "@types/chai": "^4.3.11",
46
+ "@types/chai-as-promised": "^7.1.8",
47
+ "@types/mocha": "^10.0.6",
48
+ "@types/node": "^20.10.5",
49
+ "@types/proxyquire": "^1.3.31",
50
+ "@types/sinon": "^17.0.2",
51
+ "@types/sinon-chai": "^3.2.12",
52
+ "chai": "^4.3.10",
53
53
  "chai-as-promised": "^7.1.1",
54
- "eslint": "^8.44.0",
55
- "eslint-config-prettier": "^9.0.0",
56
- "eslint-plugin-prettier": "^5.0.0",
54
+ "eslint": "^8.56.0",
55
+ "eslint-config-prettier": "^9.1.0",
56
+ "eslint-plugin-prettier": "^5.0.1",
57
57
  "mocha": "^10.2.0",
58
- "prettier": "^3.0.0",
58
+ "prettier": "^3.1.1",
59
59
  "proxyquire": "^2.1.3",
60
- "sinon": "^16.0.0",
60
+ "sinon": "^17.0.1",
61
61
  "sinon-chai": "^3.7.0",
62
- "typescript": "~5.2.2"
62
+ "typescript": "~5.3.3"
63
63
  },
64
64
  "bugs": {
65
65
  "url": "https://github.com/iobroker-community-adapters/ioBroker.botvac/issues"