diff --git a/Batterie_2/module.php b/Batterie_2/module.php index b88dd49..c56fa0a 100644 --- a/Batterie_2/module.php +++ b/Batterie_2/module.php @@ -60,16 +60,6 @@ class Batterie_2 extends IPSModule { 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");