diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index c3b742c..db8ea95 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -185,10 +185,10 @@ public function GetCurrentData(bool $Peak) { SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']); - if($data['nrg'][6]!=0 && $data['car']==2){ + if($data['nrg'][6]>1 && $data['car']==2){ SetValue($this->GetIDForIdent("Lademodus"), 1); - }elseif($data['nrg'][6]===0 && $data['car']==2){ + }elseif($data['nrg'][6]<=1 && $data['car']==2){ SetValue($this->GetIDForIdent("Lademodus"), 0); } diff --git a/library.json b/library.json index a0e108c..7e5be85 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.75", + "version": "0.76", "build": 0, "date": 0 } \ No newline at end of file