no message

This commit is contained in:
2025-06-10 13:42:00 +02:00
parent 2460d60468
commit 7b81a0d94e

View File

@@ -133,7 +133,7 @@ class Ansteuerung_Askoheat extends IPSModule
{
if($power>0){
RequestAction($this->ReadPropertyInteger("Variable_Leistung"), $this->ReadPropertyInteger("BoilerLeistung")/$power);
RequestAction($this->ReadPropertyInteger("Variable_Leistung"), round($power / round(($this->ReadPropertyInteger("BoilerLeistung")/7))));
}else{
@@ -163,7 +163,7 @@ class Ansteuerung_Askoheat extends IPSModule
public function Calc_Seven_Steps(int $power)
{
$steps = [];
$increment = $power / 7;
$increment = round($power / 7);
for ($i = 0; $i <= 7; $i++) {
$steps[] = $i * $increment;