diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index efdf9d4..af89269 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -323,7 +323,12 @@ class Ladestation_Universal extends IPSModule IPS_LogMessage("Lades", "Hier"); - if(($this->GetValue("Aktuelle_Leistung")<(0.8*$this->GetValue("Power"))) && ($this->GetValue("Power")>0)){ + $akt = $this->GetValue("Aktuelle_Leistung"); + $pow = $this->GetValue("Power"); + IPS_LogMessage("akt", $akt); + IPS_LogMessage("pow", $pow); + + if(($akt<(0.8*$pow)) && ($pow>0)){ IPS_LogMessage("Lades", "Hier2"); $dummy = $this->GetValue("Power_Count")+1; diff --git a/library.json b/library.json index d7d3fdf..8676f31 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.222", + "version": "1.223", "build": 0, "date": 0 } \ No newline at end of file