no message

This commit is contained in:
dh
2026-08-25 17:07:27 +02:00
parent 6b8db1acec
commit 20324509b1
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -93,18 +93,22 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
$stationType = $this->ReadPropertyInteger("Ladestation");
if (!$this->UsesEaseeGateway($stationType)) {
$this->SetStatus(102);
return;
}
$this->SetTimerInterval("Timer_Refresh_Token", 0);
if ($this->GetConfiguredEaseeGatewayID() <= 0) {
$this->SetStatus(102);
return;
}
try {
$this->SubscribeToEaseeGateway();
$this->GetEaseeStateFromGateway();
$this->SetStatus(102);
} catch (Throwable $exception) {
$this->SetStatus(102);
return;
}
}
+4
View File
@@ -122,6 +122,7 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
$stationType = $this->ReadPropertyInteger("Ladestation");
if (!$this->UsesEaseeGateway($stationType)) {
$this->SetStatus(102);
return;
}
@@ -136,11 +137,14 @@ $this->RegisterVariableString("Token_Intern", "Internes Token Easee");
}
if (!$this->IsEaseeGatewayInstance($parentID)) {
$this->SetStatus(102);
return;
}
$this->SubscribeToEaseeGateway();
$this->GetEaseeStateFromGateway();
$this->SetStatus(102);
} catch (Throwable $exception) {
$this->SetStatus(102);
return;
}
}