evt Fehler korrigiert
This commit is contained in:
@@ -91,13 +91,11 @@ public function RequestAction($Ident, $Value)
|
||||
public function SetAktuelle_Leistung(int $power)
|
||||
{
|
||||
|
||||
$entladeleistung = $this->ReadPropertyFloat("Entladeleistung");
|
||||
$ladeleistung = $this->ReadPropertyFloat("Ladeleistung");
|
||||
|
||||
if ($power >= 0){
|
||||
SetValue($this->ReadPropertyInteger("Ladeleistung"), $power);
|
||||
SetValue($this->ReadPropertyFloat("Ladeleistung"), $power);
|
||||
}else{
|
||||
SetValue($this->ReadPropertyInteger("Entladeleistung"), abs($power));
|
||||
SetValue($this->ReadPropertyFloat("Entladeleistung"), abs($power));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "1.059",
|
||||
"version": "1.060",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user