diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index 5d169cc..016efda 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -180,10 +180,10 @@ public function GetCurrentData(bool $Peak) { SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']); - if($data['nrg'][6]!=0 && $data['car']===2){ + if($data['nrg'][6]!=0 && $data['car']==2){ SetValue($this->GetIDForIdent("Lademodus"), 1); - }elseif($data['nrg'][6]===0 && $data['car']===2){ + }elseif($data['nrg'][6]===0 && $data['car']==2){ SetValue($this->GetIDForIdent("Lademodus"), 0); }