adnere auch mit this ausgestattet

This commit is contained in:
2025-01-22 10:16:45 +01:00
parent 2afab8f301
commit 1125bef949
5 changed files with 13 additions and 12 deletions

View File

@@ -62,13 +62,13 @@ class Ladestation_Universal extends IPSModule
switch ($Ident) {
case "SetAktuelle_Leistung":
SetValue("Power", (int)$Value);
$this->SetValue("Power", (int)$Value);
break;
case "GetCurrentData":
SetValue("Is_Peak_Shaving", (bool)$Value);
$this->SetValue("Is_Peak_Shaving", (bool)$Value);
break;
case "Do_UserCalc":
$this->SetAktuelle_Leistung($this->GetValue("Power"));