From 1ee9f9e05d00cbfba43b7bc87950f9eb5809f836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 28 Apr 2025 11:53:20 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 4 ++++ 1 file changed, 4 insertions(+) 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