code angepasst

This commit is contained in:
belevo\mh
2025-02-24 13:04:09 +01:00
parent 4cfbf9430a
commit b4fa0d6bdf
2 changed files with 5 additions and 3 deletions

View File

@@ -93,9 +93,11 @@ public function RequestAction($Ident, $Value)
if ($power >= 0){
SetValue($this->ReadPropertyFloat("Ladeleistung"), $power);
SetValue($this->ReadPropertyFloat("Ladeleistung"), $power)
SetValue($this->ReadPropertyFloat("Entladeleistung"),0);
}else{
SetValue($this->ReadPropertyFloat("Entladeleistung"), abs($power));
SetValue($this->ReadPropertyFloat("Entladeleistung"), abs($power))
SetValue($this->ReadPropertyFloat("Ladeleistung"), 0);
}
/*

View File

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