From b781781538d97f7649be0a555eb599dbb0f70146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 14 Apr 2025 13:55:34 +0200 Subject: [PATCH] no message --- Verbraucher_extern/module.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index 63dd815..751c127 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -128,6 +128,7 @@ class Verbraucher_extern extends IPSModule public function SetAktuelle_Leistung(float $power) { + $this->SetValue("Aktuelle_Leistung", $power); $this->SetValue("Bezogene_Energie", ($this->GetValue("Bezogene_Energie") + ($this->GetValue("Aktuelle_Leistung")*($this->ReadPropertyInteger("Interval")/3600)))); $this->CheckIdle($power); $verbraucherListe = json_decode($this->ReadPropertyString("Verbraucher_Liste"), true);