no message
This commit is contained in:
@@ -135,7 +135,7 @@ class Ladestation_v2 extends IPSModule
|
|||||||
public function Detect_Car(int $carType)
|
public function Detect_Car(int $carType)
|
||||||
{
|
{
|
||||||
|
|
||||||
if($this->GetValue("Car_detected")){
|
if($this->GetValue("Car_detected")==true){
|
||||||
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){
|
||||||
|
|||||||
Reference in New Issue
Block a user