From 6d8a55929f1b0a7698c5f18bbe0fa953350ec732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 24 Sep 2025 13:22:02 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 2fb685b..b6a77b8 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -742,7 +742,7 @@ class Ladestation_v2 extends IPSModule IPS_LogMessage("asdf3", "asdf1". ($this->GetValue("Power")==max(json_decode($this->GetValue("PowerSteps"))))); IPS_LogMessage("asdf4", "asdf1". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))); - if(((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))){ + if((((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))==1){ $this->Calc_Max_Current($this->GetValue("Is_1_ph")); IPS_LogMessage("asdf5", "asdf5". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));