From 6f9a39beeb68d9d6f69dc2e8c12e5ca92a212654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 14 Apr 2025 13:58:30 +0200 Subject: [PATCH] no message --- Verbraucher_extern/module.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index 751c127..718597f 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -128,9 +128,10 @@ class Verbraucher_extern extends IPSModule public function SetAktuelle_Leistung(float $power) { + $this->CheckIdle($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); $this->berechneInverseKombinationen();