This commit is contained in:
belevo\mh
2024-12-11 16:04:39 +01:00
parent 0a35944e81
commit 56ca737969
2 changed files with 3 additions and 3 deletions

View File

@@ -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));
}
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.182",
"version": "0.183",
"build": 0,
"date": 0
}