diff --git a/Batterie/module.php b/Batterie/module.php index f495ee2..0c0b0c4 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -127,11 +127,11 @@ class Batterie extends IPSModule } else { // Solar - $filtered_powersteps = array_filter($array_powersteps, function ($value) use ($maxleistung) { + $filtered_powersteps_solar = array_filter($array_powersteps, function ($value) use ($maxleistung) { return $value > $maxleistung; // Hochpass filtern }); - $this->SetValue("PowerSteps", json_encode($filtered_powersteps)); + $this->SetValue("PowerSteps", json_encode($filtered_powersteps_solar)); } } diff --git a/library.json b/library.json index 31d870b..6a9f608 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.182", + "version": "0.183", "build": 0, "date": 0 } \ No newline at end of file