From 70356ec9fbea0ffe324d1ed7289f5238a15916cb Mon Sep 17 00:00:00 2001 From: Stephan Mante Date: Tue, 5 Nov 2024 20:29:57 +0100 Subject: [PATCH] adjsut tabs --- README.md | 2 +- lib/drivers/driver_inverter.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 256d294..5a52ba0 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ browse in the [wiki](https://github.com/bolliy/ioBroker.sun2000/wiki) ### **WORK IN PROGRESS** * adjust for Responsive Design #134 -* Upgrade to ESLint 9.x +* migrate to ESLint 9.x * node >= v18.18.0 * modbus-proxy: enabled reading data via input register diff --git a/lib/drivers/driver_inverter.js b/lib/drivers/driver_inverter.js index 5733816..c750033 100644 --- a/lib/drivers/driver_inverter.js +++ b/lib/drivers/driver_inverter.js @@ -971,11 +971,8 @@ class InverterSun2000 extends DriverBase{ } else { const state = this.stateCache.get(`${this.deviceInfo.path}.battery.unit.${unit}.batteryPack.${pack}.SN`); return this.adapter.settings.ds.batteryPacks && state && state.value; - //return state && state.value; - //return (state && 'test'); } } - } //overload