From 79fbbe4a63663c5cdf0c1864e944ab00ab592118 Mon Sep 17 00:00:00 2001 From: simatec Date: Sun, 4 Feb 2024 18:53:37 +0100 Subject: [PATCH] (simatec) Beta 0.9.5 --- README.md | 1 + main.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 99a8cb0..98d23b9 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ When the adapter crashes or an other Code error happens, this error message that ### __WORK IN PROGRESS__ * (simatec) Dependencies updated +* (simatec) Fix Data for X1/X3-EVC Wallbox ### 0.9.4 (2024-01-22) * (simatec) adapter-dev added diff --git a/main.js b/main.js index 68851df..a269298 100644 --- a/main.js +++ b/main.js @@ -585,12 +585,12 @@ async function requestLocalAPI(root_dataPoints, information_dataPoints, data_dat if (type == 7 && key == '1') { data = data !== undefined ? _wallboxChargemodeLocal[data] : 'Undefined'; } - + // State for chargemode Wallbox Type 7 if (type == 7 && key == '26') { data = data !== undefined ? _wallboxPlugStateLocal[data] : 'Undefined'; } - + await setDataPoint(dataPoint, data); }