Codefehler
This commit is contained in:
+7
-7
@@ -164,7 +164,12 @@ class Batterie extends IPSModule
|
||||
|
||||
|
||||
|
||||
public function CheckIdle($power)
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
private function CheckIdle($power)
|
||||
{
|
||||
$lastpower = GetValue("Aktuelle_Leistung");
|
||||
if ($lastpower != GetValue("Aktuelle_Leistung")) {
|
||||
@@ -185,7 +190,7 @@ class Batterie extends IPSModule
|
||||
}
|
||||
|
||||
|
||||
public function ProcessIdleCounter()
|
||||
private function ProcessIdleCounter()
|
||||
{
|
||||
// IdleCounter auslesen und verarbeiten
|
||||
$idleCounter = $this->GetValue("IdleCounter");
|
||||
@@ -196,10 +201,5 @@ class Batterie extends IPSModule
|
||||
$this->SetValue("Idle", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.177",
|
||||
"version": "0.178",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user