From 6b5f2f83158f0cf78752fd6a8e9f4c20eb6051f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 11 Apr 2025 10:08:41 +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 96ef12e..4eba544 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -135,7 +135,7 @@ class Ladestation_v2 extends IPSModule public function Detect_Car(int $carType) { - if($this->GetValue("Car_detected")){ + if($this->GetValue("Car_detected")==true){ if($this->Get_Car_Status($carType)==true){ $this->SetValue("Car_detected", true); if($this->GetValue("Max_Current")<6){