no message

This commit is contained in:
belevo\mh
2026-01-28 07:12:59 +01:00
parent 76464b66cf
commit afc72486b9
2 changed files with 4 additions and 4 deletions

View File

@@ -94,9 +94,9 @@
"type": "NumberSpinner",
"name": "UpdateInterval",
"caption": "Neuberechnung alle",
"suffix": "Minuten",
"suffix": "Sekunden",
"minimum": 0,
"maximum": 1440
"maximum": 86400
}
]
}

View File

@@ -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);