no message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user