This commit is contained in:
mh
2025-01-07 11:19:12 +01:00
parent 6f33018cf8
commit 8b1a86ad79
2 changed files with 17 additions and 17 deletions
+14 -14
View File
@@ -49,29 +49,29 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
parent::ApplyChanges(); parent::ApplyChanges();
} }
// Aktionen verarbeiten
public function RequestAction($Ident, $Value) public function RequestAction($Ident, $Value)
{ {
IPS_LogMessage("Boiler Debug", "RequestAction triggered: $Ident = $Value");
switch ($Ident) { switch ($Ident) {
case "Mindesttemperatur":
case "Maximaltemperatur":
case "Legionellentemperatur":
$this->SetValue($Ident, $Value);
IPS_LogMessage("Boiler Debug", "$Ident updated to $Value");
break;
case "SetAktuelle_Leistung": case "SetAktuelle_Leistung":
$this->SetAktuelle_Leistung($Value); $this->SetAktuelle_Leistung($Value);
break; break;
case "GetCurrentData": case "GetCurrentData":
return $this->GetCurrentData($Value);
case "Mindesttemperatur":
// Setze den neuen Wert für Mindesttemperatur
$this->SetValue($Ident, $Value);
break;
case "Maximaltemperatur": $result = $this->GetCurrentData($Value);
// Setze den neuen Wert für Maximaltemperatur return $result;
$this->SetValue($Ident, $Value);
break;
case "Legionellentemperatur":
// Setze den neuen Wert für Legionellentemperatur
$this->SetValue($Ident, $Value);
break;
default: default:
throw new Exception("Invalid Ident"); throw new Exception("Invalid Ident");
} }
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.264", "version": "0.265",
"build": 0, "build": 0,
"date": 0 "date": 0