From afc72486b949b148aff40a3268186c8611acee1f Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Wed, 28 Jan 2026 07:12:59 +0100 Subject: [PATCH] no message --- Bat_EV_SDL _V2/form.json | 4 ++-- Bat_EV_SDL _V2/module.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bat_EV_SDL _V2/form.json b/Bat_EV_SDL _V2/form.json index 119f2b9..05f435f 100644 --- a/Bat_EV_SDL _V2/form.json +++ b/Bat_EV_SDL _V2/form.json @@ -94,9 +94,9 @@ "type": "NumberSpinner", "name": "UpdateInterval", "caption": "Neuberechnung alle", - "suffix": "Minuten", + "suffix": "Sekunden", "minimum": 0, - "maximum": 1440 + "maximum": 86400 } ] } diff --git a/Bat_EV_SDL _V2/module.php b/Bat_EV_SDL _V2/module.php index d80e5ac..5b1518a 100644 --- a/Bat_EV_SDL _V2/module.php +++ b/Bat_EV_SDL _V2/module.php @@ -42,8 +42,8 @@ class Bat_EV_SDL_V2 extends IPSModule { parent::ApplyChanges(); - $intervalMin = (int)$this->ReadPropertyInteger("UpdateInterval"); - $this->SetTimerInterval("UpdateTimer", ($intervalMin > 0) ? $intervalMin * 60 * 1000 : 0); + $intervalSec = (int)$this->ReadPropertyInteger("UpdateInterval"); + $this->SetTimerInterval("UpdateTimer", ($intervalSec > 0) ? $intervalSec * 1000 : 0); // Cache neu bauen (force) $this->BuildBatteryCache(true);