no message

This commit is contained in:
2025-06-25 11:15:52 +02:00
parent 19781772f7
commit 4ada848efb

View File

@@ -388,7 +388,7 @@ class Ladestation_v2 extends IPSModule
if (json_last_error() === JSON_ERROR_NONE && isset($easee_data["chargerOpMode"])) {
if ($easee_data["chargerOpMode"] != 1 && $easee_data["chargerOpMode"] != 6 && $easee_data["chargerOpMode"] != 7) {
if ($easee_data["chargerOpMode"] != 1 && $easee_data["chargerOpMode"] != 2 && $easee_data["chargerOpMode"] != 6 && $easee_data["chargerOpMode"] != 7) {
$car_on_station = true;
}
else{
@@ -670,7 +670,7 @@ class Ladestation_v2 extends IPSModule
// Nichts zu tun für Dummy station
return;
case 5:
if($this->ReadPropertyString("Username") != $data["driverIdentifier"]){
if($this->ReadPropertyString("Username") != $this->GetValue("Letzer_User")){
return;
}
$url2 = "https://api.easee.com/api/chargers/".$this->ReadPropertyString("Seriennummer")."/commands/set_dynamic_charger_current";