From a5e82335cc6c73e2bab5efcc8da6134e9a600ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 13 Nov 2024 15:49:03 +0100 Subject: [PATCH] noch immer nicht ganz --- WP_Steuerung/module.php | 2 +- library.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WP_Steuerung/module.php b/WP_Steuerung/module.php index ffff676..a3db686 100644 --- a/WP_Steuerung/module.php +++ b/WP_Steuerung/module.php @@ -112,7 +112,7 @@ class WP_Steuerung extends IPSModule { } - elseif($this->GetValue("CurrentPower")!=$power || ($this->GetValue("LetzterPeakwert") != $this->GetValue("LetzterPeakwert_Aenderung")) ){ + elseif($this->GetValue("CurrentPower")!=$power || ($this->GetValue("WP_Laufzeit_Zahler")>240 && ($this->GetValue("LetzterPeakwert") != $this->GetValue("LetzterPeakwert_Aenderung"))) ){ $this->SetValue("WP_Laufzeit_Zahler", 0); $LastPeak = $this->GetValue("LetzterPeakwert"); diff --git a/library.json b/library.json index 1c92586..8a7e07a 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.133", + "version": "0.134", "build": 0, "date": 0 } \ No newline at end of file