ladestation Lademous Wert angepasst

This commit is contained in:
belevo\mh
2024-11-05 13:47:36 +01:00
parent 63ae0b6a31
commit b38b1ccd60
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}