From 8adf693d142309c7a7249461b58b2c7eac9b859a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 7 Apr 2025 16:10:13 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 82a74e0..5449b70 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -145,7 +145,8 @@ class Ladestation_v2 extends IPSModule public function Get_Car_Status(int $carType) { $plug_state = false; - + $ch = curl_init(); + switch ($carType) { case 1: curl_setopt($ch, CURLOPT_URL, "http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=");