From c3677a07241a22f8170cc238cd42b175231cafb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 17 Jun 2025 16:50:25 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index ccdaadf..eec3fe9 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -365,10 +365,10 @@ class Ladestation_v2 extends IPSModule curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); $response_easee = curl_exec($ch2); curl_close($ch2); - + IPS_LogMessage("Easee", print_r($response_easee)); - if ($response === false || $response_easee === false) { + if ($response === false) { IPS_LogMessage("Ladestation", "Fehler beim Abrufen der API-Daten"); return; } @@ -380,9 +380,9 @@ class Ladestation_v2 extends IPSModule return; } if (isset($data['driverIdentifier']) && ($data['driverIdentifier']==$this->ReadPropertyString("Username"))) { - if(isset($easee_data['totalPower'])){ + if(isset($easee_data["totalPower"])){ - $this->SetValue("Ladeleistung_Effektiv", $easee_data['totalPower']); + $this->SetValue("Ladeleistung_Effektiv", $easee_data["totalPower"]); IPS_LogMessage("Ladestation 1", "1"); }else{