no message
This commit is contained in:
@@ -60,16 +60,6 @@ class Batterie_2 extends IPSModule
|
|||||||
{
|
{
|
||||||
parent::ApplyChanges();
|
parent::ApplyChanges();
|
||||||
|
|
||||||
if (GetValue($this->ReadPropertyInteger("Batterietyp")) == 1) {//Goodwe
|
|
||||||
$this->SetValue("Laden", 11);
|
|
||||||
$this->SetValue("Entladen", 12);
|
|
||||||
|
|
||||||
}elseif (GetValue($this->ReadPropertyInteger("Batterietyp")) == 2) {//Solaredge
|
|
||||||
# code...
|
|
||||||
$this->SetValue("Laden", 3);
|
|
||||||
$this->SetValue("Entladen", 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$batterieManagement = $this->ReadPropertyInteger("Batteriemanagement");
|
$batterieManagement = $this->ReadPropertyInteger("Batteriemanagement");
|
||||||
|
|||||||
Reference in New Issue
Block a user