diff --git a/Manager/module.php b/Manager/module.php index cfff738..a52df70 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -168,6 +168,7 @@ class Manager extends IPSModule // Simulierte Methode (Debug-Ausgabe) IPS_RequestAction($instanceID, 'SetCurrentPower', $minPowerStep); + $remainingPower -= $energy['CurrentPower']; // Hier kann der tatsächliche Funktionsaufruf eingebaut werden // IPS_RequestAction($instanceID, 'SetCurrentPower', $minPowerStep); diff --git a/library.json b/library.json index 236871a..8eb39a2 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.140", + "version": "0.141", "build": 0, "date": 0 } \ No newline at end of file