From b841df12df31ae185c6f1b2391546570928f89d7 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 11 Dec 2024 15:33:36 +0100 Subject: [PATCH] public --- Batterie/module.php | 8 ++++---- library.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index 77e2ccc..78ec167 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -163,8 +163,8 @@ class Batterie extends IPSModule - /* - private function CheckIdle($power) + + public function CheckIdle($power) { $lastpower = GetValue("Aktuelle_Leistung"); if ($lastpower != GetValue("Aktuelle_Leistung")) { @@ -183,9 +183,9 @@ class Batterie extends IPSModule $this->SetValue("Idle", true); } } - */ + - private function ProcessIdleCounter() + public function ProcessIdleCounter() { // IdleCounter auslesen und verarbeiten $idleCounter = $this->GetValue("IdleCounter"); diff --git a/library.json b/library.json index ac11e13..604545f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.176", + "version": "0.177", "build": 0, "date": 0 } \ No newline at end of file