no message
This commit is contained in:
@@ -137,12 +137,10 @@ class Ladestation_v2 extends IPSModule
|
|||||||
if($this->Get_Car_Status($carType)==true){
|
if($this->Get_Car_Status($carType)==true){
|
||||||
$this->SetValue("Car_detected", true);
|
$this->SetValue("Car_detected", true);
|
||||||
if($this->GetValue("Max_Current")<6){
|
if($this->GetValue("Max_Current")<6){
|
||||||
$this-SetValue("Car_is_full", true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$this->SetValue("Car_detected", false);
|
$this->SetValue("Car_detected", false);
|
||||||
$this-SetValue("Car_is_full", false);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user