diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index dbdaa29..d20053c 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -444,7 +444,11 @@ class Ladestation_v2 extends IPSModule if ($this->GetValue("IsTimerActive")) { // Timer ist aktiv, PowerSteps setzen $this->SetValue("PowerSteps", json_encode([$this->GetValue("Aktuelle_Leistung")])); + $this->SetValue("Leistung_Delta", $this->GetValue("Aktuelle_Leistung")-$this->GetValue("Ladeleistung_Effektiv")); + return; + }else{ + $this->SetValue("Leistung_Delta", 0); } // Aktuelle Properties abrufen