diff --git a/Batterie/module.php b/Batterie/module.php index 17453a5..a6d5179 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -225,13 +225,13 @@ public function RequestAction($Ident, $Value) $filtered_powersteps_laden = array_values($filtered_powersteps); $this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden)); - }elseif($batterieladezustand>=$aufdasnachladen && $hyst==true){ + }elseif($batterieladezustand>=$aufdasnachladen && $hyst==false){ $this->SetValue("PowerSteps", json_encode($array_powersteps)); IPS_LogMessage("Batterie", "im 2"); - }elseif($batterieladezustand>=$aufdasnachladen && $hyst==false){ + }elseif($batterieladezustand>=$aufdasnachladen && $hyst==true){ $filtered_powersteps = array_filter($array_powersteps, function ($value) { return $value <= 0; diff --git a/library.json b/library.json index cef72f2..3b9938f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.160", + "version": "1.161", "build": 0, "date": 0 } \ No newline at end of file