adnere auch mit this ausgestattet
This commit is contained in:
+4
-3
@@ -67,14 +67,15 @@ class Batterie extends IPSModule
|
|||||||
public function RequestAction($Ident, $Value)
|
public function RequestAction($Ident, $Value)
|
||||||
{
|
{
|
||||||
switch ($Ident) {
|
switch ($Ident) {
|
||||||
|
|
||||||
case "SetAktuelle_Leistung":
|
case "SetAktuelle_Leistung":
|
||||||
SetValue("Power", (int)$Value);
|
$this->SetValue("Power", (int)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
SetValue("Is_Peak_Shaving", (bool)$Value);
|
$this->SetValue("Is_Peak_Shaving", (bool)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case "Do_UserCalc":
|
case "Do_UserCalc":
|
||||||
|
|
||||||
|
|||||||
@@ -62,13 +62,13 @@ class Ladestation_Universal extends IPSModule
|
|||||||
switch ($Ident) {
|
switch ($Ident) {
|
||||||
|
|
||||||
case "SetAktuelle_Leistung":
|
case "SetAktuelle_Leistung":
|
||||||
SetValue("Power", (int)$Value);
|
$this->SetValue("Power", (int)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
SetValue("Is_Peak_Shaving", (bool)$Value);
|
$this->SetValue("Is_Peak_Shaving", (bool)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "Do_UserCalc":
|
case "Do_UserCalc":
|
||||||
|
|
||||||
$this->SetAktuelle_Leistung($this->GetValue("Power"));
|
$this->SetAktuelle_Leistung($this->GetValue("Power"));
|
||||||
|
|||||||
@@ -52,13 +52,13 @@ class Verbraucher_1_Stufig extends IPSModule
|
|||||||
public function RequestAction($Ident, $Value)
|
public function RequestAction($Ident, $Value)
|
||||||
{
|
{
|
||||||
switch ($Ident) {
|
switch ($Ident) {
|
||||||
|
|
||||||
case "SetAktuelle_Leistung":
|
case "SetAktuelle_Leistung":
|
||||||
SetValue("Power", (int)$Value);
|
$this->SetValue("Power", (int)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
SetValue("Is_Peak_Shaving", (bool)$Value);
|
$this->SetValue("Is_Peak_Shaving", (bool)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "ResetPowerSteps":
|
case "ResetPowerSteps":
|
||||||
|
|||||||
@@ -60,11 +60,11 @@ class WP_Steuerung extends IPSModule
|
|||||||
switch ($Ident) {
|
switch ($Ident) {
|
||||||
|
|
||||||
case "SetAktuelle_Leistung":
|
case "SetAktuelle_Leistung":
|
||||||
SetValue("Power", (int)$Value);
|
$this->SetValue("Power", (int)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
SetValue("Is_Peak_Shaving", (bool)$Value);
|
$this->SetValue("Is_Peak_Shaving", (bool)$Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "ResetPowerSteps":
|
case "ResetPowerSteps":
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.290",
|
"version": "0.291",
|
||||||
|
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
|
|||||||
Reference in New Issue
Block a user