Codefehler

This commit is contained in:
mh
2024-12-11 15:36:58 +01:00
parent b841df12df
commit e759ac1e9d
2 changed files with 32 additions and 32 deletions
+7 -7
View File
@@ -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
View File
@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.177",
"version": "0.178",
"build": 0,
"date": 0
}