This commit is contained in:
belevo\mh
2025-01-07 11:19:12 +01:00
parent 6f33018cf8
commit 8b1a86ad79
2 changed files with 17 additions and 17 deletions

View File

@@ -49,29 +49,29 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
parent::ApplyChanges();
}
// Aktionen verarbeiten
public function RequestAction($Ident, $Value)
{
IPS_LogMessage("Boiler Debug", "RequestAction triggered: $Ident = $Value");
switch ($Ident) {
case "Mindesttemperatur":
case "Maximaltemperatur":
case "Legionellentemperatur":
$this->SetValue($Ident, $Value);
IPS_LogMessage("Boiler Debug", "$Ident updated to $Value");
break;
case "SetAktuelle_Leistung":
$this->SetAktuelle_Leistung($Value);
break;
case "GetCurrentData":
return $this->GetCurrentData($Value);
case "Mindesttemperatur":
// Setze den neuen Wert für Mindesttemperatur
$this->SetValue($Ident, $Value);
break;
case "Maximaltemperatur":
// Setze den neuen Wert für Maximaltemperatur
$this->SetValue($Ident, $Value);
break;
case "Legionellentemperatur":
// Setze den neuen Wert für Legionellentemperatur
$this->SetValue($Ident, $Value);
break;
$result = $this->GetCurrentData($Value);
return $result;
default:
throw new Exception("Invalid Ident");
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.264",
"version": "0.265",
"build": 0,
"date": 0