From 3450ebac3d63315197945a49bc9e65a40a0bcdc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 22 Jan 2025 08:56:37 +0100 Subject: [PATCH] =?UTF-8?q?explizites=20parsen=20hinzugef=C3=BChgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Boiler_2_Stufig_Mit_Fueler/module.php | 4 ++-- library.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Boiler_2_Stufig_Mit_Fueler/module.php b/Boiler_2_Stufig_Mit_Fueler/module.php index ad109eb..52af77a 100644 --- a/Boiler_2_Stufig_Mit_Fueler/module.php +++ b/Boiler_2_Stufig_Mit_Fueler/module.php @@ -60,11 +60,11 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule switch ($Ident) { case "SetAktuelle_Leistung": - SetValue("Power", $Value); + SetValue("Power", (int)$Value); break; case "GetCurrentData": - SetValue("Is_Peak_Shaving", $Value); + SetValue("Is_Peak_Shaving", (bool)$Value); break; case "Do_UserCalc": diff --git a/library.json b/library.json index 4524b09..76bcc54 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.285", + "version": "0.286", "build": 0, "date": 0