iobroker.renault 0.0.7 → 0.0.8

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
@@ -12,13 +12,12 @@
12
12
 
13
13
  **Tests:** ![Test and Release](https://github.com/TA2k/ioBroker.renault/workflows/Test%20and%20Release/badge.svg)
14
14
 
15
- ## renault adapter for ioBroker
16
-
17
- Adapter for Renault and Renault
15
+ ## renault/dacia adapter for ioBroker
18
16
 
17
+ Adapter for Renault and Dacia
19
18
  ## Loginablauf
20
19
 
21
- Die myRenault Mail und Passwort eingeben.
20
+ Die myRenault/myDacia Mail und Passwort eingeben.
22
21
 
23
22
  ## Steuern
24
23
 
@@ -29,7 +28,7 @@ renault.0.vin.remote auf true setzen steuert den jeweiligen Befehl
29
28
 
30
29
  ## Changelog
31
30
 
32
- ### 0.0.6
31
+ ### 0.0.7
33
32
 
34
33
  * (TA2k) initial release
35
34
 
package/io-package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "renault",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "news": {
6
- "0.0.7": {
6
+ "0.0.8": {
7
7
  "en": "initial release",
8
8
  "de": "Erstveröffentlichung",
9
9
  "ru": "Начальная версия",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "dependencies": [
71
71
  {
72
- "js-controller": ">=3.0.0"
72
+ "js-controller": ">=3.2.0"
73
73
  }
74
74
  ],
75
75
  "globalDependencies": [
package/main.js CHANGED
@@ -475,6 +475,10 @@ class Renault extends utils.Adapter {
475
475
  if (path === "hvac-temperature") {
476
476
  return;
477
477
  }
478
+ if (!this.account) {
479
+ this.log.error("No account found");
480
+ return;
481
+ }
478
482
  const command = path.split("/")[1];
479
483
  const data = { data: { type: this.toCamelCase(command), attributes: { action: state.val ? "start" : "cancel" } } };
480
484
  if (command === "hvac-start") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.renault",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Adapter for Renault and Renault",
5
5
  "author": {
6
6
  "name": "TA2k",
@@ -15,7 +15,9 @@
15
15
  "license": "MIT",
16
16
  "keywords": [
17
17
  "renault",
18
- "Renault"
18
+ "Renault",
19
+ "dacia",
20
+ "Dacia"
19
21
  ],
20
22
  "repository": {
21
23
  "type": "git",