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

@@ -52,13 +52,13 @@ class Verbraucher_1_Stufig extends IPSModule
public function RequestAction($Ident, $Value)
{
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 "ResetPowerSteps":