From bc872ac72a26bfb47742169c66281455a18c2da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 28 Apr 2025 11:26:35 +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 3bc925e..dbdaa29 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -236,7 +236,7 @@ class Ladestation_v2 extends IPSModule public function Get_Car_Status(int $carType) { $ch = curl_init(); - $car_on_station = false; + $car_on_station = $this->GetValue("Car_detected"); switch ($carType) { case 1: curl_setopt($ch, CURLOPT_URL, "http://" . $this->ReadPropertyString("IP_Adresse") . "/mqtt?payload=");