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(
$ch,
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_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_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);
$response = curl_exec($ch);
curl_close($ch);
@@ -394,7 +394,7 @@ class Ladestation_Universal extends IPSModule
$url2 = $baseUrl . $value*1000;
curl_setopt($ch, CURLOPT_URL, $url2);
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);
// Check for errors

View File

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