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