no message

This commit is contained in:
2025-04-11 10:08:41 +02:00
parent 7652ab1b9e
commit 6b5f2f8315

View File

@@ -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){