no message

This commit is contained in:
belevo\mh
2025-12-03 10:03:46 +01:00
parent 9f6b5890bd
commit 48c8d4cb3f

View File

@@ -62,6 +62,22 @@ class Batterie_test extends IPSModule
$this->SetValue("Batteriemanagement_Variabel", $batterieManagement);
$this->SetTimerInterval("Timer_Do_UserCalc_Battery",$this->ReadPropertyInteger("Interval")*1000);
switch ($batterietyp) {
case 1: // z.B. LiFePo4
$this->RegisterVariableFloat("Goodwe_EntLadeleistung","Goodwe_EntLadeleistung", "",0);
break;
case 2: // z.B. Blei-Gel
$this->RegisterVariableFloat("2","2", "",0);
break;
case 2:
$this->RegisterVariableFloat("3","3", "",0);
break;
}
}