From 257aef2eab77de807199b117c136ebf36db1e7f9 Mon Sep 17 00:00:00 2001 From: "belevo\\daniel" Date: Wed, 17 Jul 2024 14:34:56 +0200 Subject: [PATCH] syntaxfehler behoben... --- Ladestation_Universal/module.php | 4 ++-- library.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index 0aa6aad..7726fd8 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -253,7 +253,7 @@ public function sendPowerToStation($value) { public function convertPowerToCurrent($value, $Lademodus) { - if($Lademodus===1){ + if($Lademodus==1){ if ($value == 0) { return 0; } elseif ($value == 4150) { @@ -313,7 +313,7 @@ public function convertPowerToCurrent($value, $Lademodus) { } return 0; - }elseif($Lademodus===0){ + }elseif($Lademodus==0){ if ($value == 0) { return 0; } elseif ($value == 1450) { diff --git a/library.json b/library.json index 3f7a1a8..150b1fa 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.2", + "version": "0.3", "build": 0, "date": 0 } \ No newline at end of file