/0 behoben

This commit is contained in:
2024-12-19 10:56:04 +01:00
parent af5544618f
commit 848496cfb0
2 changed files with 4 additions and 3 deletions

View File

@@ -230,13 +230,14 @@ class Ladestation_Universal extends IPSModule
);
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data["State"]);
if($data["MaxAllowedChargingCurrent"]>0){
if ($data["ActiveChargingPower"]/$data["MaxAllowedChargingCurrent"] > 0.4 && $data["car"] != 1) {
SetValue($this->GetIDForIdent("Lademodus"), 1);
} elseif ($data["car"] != 1) {
SetValue($this->GetIDForIdent("Lademodus"), 0);
}
}
}}
}
}

View File

@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "0.202",
"version": "0.203",
"build": 0,
"date": 0
}