code angepasst

This commit is contained in:
mh
2025-02-24 13:04:09 +01:00
parent 4cfbf9430a
commit b4fa0d6bdf
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -93,9 +93,11 @@ public function RequestAction($Ident, $Value)
if ($power >= 0){ if ($power >= 0){
SetValue($this->ReadPropertyFloat("Ladeleistung"), $power); SetValue($this->ReadPropertyFloat("Ladeleistung"), $power)
SetValue($this->ReadPropertyFloat("Entladeleistung"),0);
}else{ }else{
SetValue($this->ReadPropertyFloat("Entladeleistung"), abs($power)); SetValue($this->ReadPropertyFloat("Entladeleistung"), abs($power))
SetValue($this->ReadPropertyFloat("Ladeleistung"), 0);
} }
/* /*
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "1.060", "version": "1.061",
"build": 0, "build": 0,
"date": 0 "date": 0
} }