From 84ed2a7b63d4d8e2a61c610bfa434c6b2fbe2a9b Mon Sep 17 00:00:00 2001 From: TA2k Date: Fri, 22 Nov 2024 07:14:03 +0100 Subject: [PATCH] 0.1.10 --- io-package.json | 6 +++--- main.js | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/io-package.json b/io-package.json index ddac935..3c76334 100644 --- a/io-package.json +++ b/io-package.json @@ -1,10 +1,10 @@ { "common": { "name": "nissan", - "version": "0.1.9", + "version": "0.1.10", "news": { - "0.1.9": { - "en": "battery status v2 moved to to batter-statusv2 object folder", + "0.1.10": { + "en": "battery status v2/v3 moved to to batter-statusv2 v3 object folder", "de": "batteriestatus v2 in den objektordner batter-statusv2 verschoben", "ru": "статус батареи v2 перенесен в папку объекта batter-statusv2", "pt": "status da bateria v2 movido para pasta de objeto batter-statusv2", diff --git a/main.js b/main.js index 63e7c4f..c01998d 100644 --- a/main.js +++ b/main.js @@ -499,6 +499,10 @@ class Nissan extends utils.Adapter { path: 'battery-statusv2', url: 'https://alliance-platform-caradapter-prod.apps.eu2.kamereon.io/car-adapter/v2/cars/$vin/battery-status', }, + { + path: 'battery-statusv3', + url: 'https://alliance-platform-caradapter-prod.apps.eu2.kamereon.io/car-adapter/v3/cars/$vin/battery-status?canGen=$gen', + }, { path: 'lock-status', url: 'https://alliance-platform-caradapter-prod.apps.eu2.kamereon.io/car-adapter/v1/cars/$vin/lock-status' }, { path: 'hvac-status', url: 'https://alliance-platform-caradapter-prod.apps.eu2.kamereon.io/car-adapter/v1/cars/$vin/hvac-status' }, { path: 'location', url: 'https://alliance-platform-caradapter-prod.apps.eu2.kamereon.io/car-adapter/v1/cars/$vin/location' }, diff --git a/package-lock.json b/package-lock.json index f061b0a..d81f03c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.nissan", - "version": "0.1.8", + "version": "0.1.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.nissan", - "version": "0.1.8", + "version": "0.1.10", "license": "MIT", "dependencies": { "@eslint/compat": "^1.2.3", diff --git a/package.json b/package.json index 77109c2..c229ab9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.nissan", - "version": "0.1.9", + "version": "0.1.10", "description": "Nissan Adapter", "author": { "name": "TA2k",