diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 24db2f4..b44e6f4 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -841,7 +841,7 @@ class Ladestation_v2 extends IPSModule // cURL-Handle schließen curl_close($ch); - $this->SetBuffer("Token_Intern", json_decode($response)['accessToken']); + $this->SetBuffer("Token_Intern", (json_decode($response, true)['accessToken'])); }