semikkolon vergessen wegzunehmen

This commit is contained in:
2024-12-19 10:31:25 +01:00
parent c90730e1e9
commit af5544618f
2 changed files with 5 additions and 5 deletions

View File

@@ -179,10 +179,10 @@ class Ladestation_Universal extends IPSModule
curl_setopt( curl_setopt(
$ch, $ch,
CURLOPT_URL, CURLOPT_URL,
"https://api.smart-me.com/pico/charging/". $this->ReadPropertyInteger("ID"); "https://api.smart-me.com/pico/charging/". $this->ReadPropertyString("ID")
); );
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password")); curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
} }
@@ -322,7 +322,7 @@ class Ladestation_Universal extends IPSModule
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password")); curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch); $response = curl_exec($ch);
curl_close($ch); curl_close($ch);
@@ -394,7 +394,7 @@ class Ladestation_Universal extends IPSModule
$url2 = $baseUrl . $value*1000; $url2 = $baseUrl . $value*1000;
curl_setopt($ch, CURLOPT_URL, $url2); curl_setopt($ch, CURLOPT_URL, $url2);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyInteger("Username") . ":" . $this->ReadPropertyInteger("Password")); curl_setopt($ch, CURLOPT_USERPWD, $this->ReadPropertyString("Username") . ":" . $this->ReadPropertyString("Password"));
$response2 = curl_exec($ch); $response2 = curl_exec($ch);
// Check for errors // Check for errors

View File

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