auf die anderen module auch ncoh angewandt
This commit is contained in:
@@ -67,14 +67,14 @@ class Batterie extends IPSModule
|
||||
public function RequestAction($Ident, $Value)
|
||||
{
|
||||
switch ($Ident) {
|
||||
|
||||
case "SetAktuelle_Leistung":
|
||||
SetValue("Power", $Value);
|
||||
SetValue("Power", (int)$Value);
|
||||
break;
|
||||
|
||||
case "GetCurrentData":
|
||||
SetValue("Is_Peak_Shaving", $Value);
|
||||
SetValue("Is_Peak_Shaving", (bool)$Value);
|
||||
break;
|
||||
|
||||
|
||||
case "Do_UserCalc":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user